Skip to content

The Free Software Media System - Server Backend & API

update CanSelfUpdate

Luke821b6894e555
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
index b0f37eeef8..21731a3a60 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