aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-01-17 21:03:48 -0500
committerLuke <luke.pulverenti@gmail.com>2016-01-17 21:03:48 -0500
commitefdd1b1f2eea354183fb3d85b103038b77ff21f9 (patch)
treec09ce4f30666bf413290bc7a87daad87d6a3649e
parentdb81d2ca1a7071f0fe3271b711f958fc2ff014cf (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 fbd96f53a..fb11b8d65 100644
--- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
+++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
@@ -979,6 +979,10 @@ namespace MediaBrowser.Server.Startup.Common
{
get
{
+ if (!ServerConfigurationManager.Configuration.EnableAutoUpdate)
+ {
+ return false;
+ }
#if DEBUG
return false;
#endif