Przeglądaj źródła

update CanSelfUpdate

Luke 9 lat temu
rodzic
commit
efdd1b1f2e

+ 4 - 0
MediaBrowser.Server.Startup.Common/ApplicationHost.cs

@@ -979,6 +979,10 @@ namespace MediaBrowser.Server.Startup.Common
         {
         {
             get
             get
             {
             {
+				if (!ServerConfigurationManager.Configuration.EnableAutoUpdate) 
+				{
+					return false;
+				}
 #if DEBUG
 #if DEBUG
                 return false;
                 return false;
 #endif
 #endif