aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-01-17 21:03:48 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-01-18 13:59:36 -0500
commit821b6894e555eb0dc1071911273e98baceff4f22 (patch)
treeafbe3958b56d82d85033a34059560338d090c471
parente173a9ec7f7b032e5c2b4a34eb0d234b9b3bea01 (diff)
update CanSelfUpdate
-rw-r--r--MediaBrowser.Server.Startup.Common/ApplicationHost.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
index b0f37eeef..21731a3a6 100644
--- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
+++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
@@ -970,6 +970,10 @@ namespace MediaBrowser.Server.Startup.Common
{
get
{
+ if (!ServerConfigurationManager.Configuration.EnableAutoUpdate)
+ {
+ return false;
+ }
#if DEBUG
return false;
#endif