diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-01-17 21:03:48 -0500 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2016-01-17 21:03:48 -0500 |
| commit | efdd1b1f2eea354183fb3d85b103038b77ff21f9 (patch) | |
| tree | c09ce4f30666bf413290bc7a87daad87d6a3649e | |
| parent | db81d2ca1a7071f0fe3271b711f958fc2ff014cf (diff) | |
update CanSelfUpdate
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 4 |
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 |
