Skip to content

The Free Software Media System - Server Backend & API

update CanSelfUpdate

Lukeefdd1b1f2eea
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs
index fbd96f53ab..fb11b8d657 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