aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Startup.Common/UpdateLevelHelper.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-05-31 15:40:34 -0400
committerGitHub <noreply@github.com>2017-05-31 15:40:34 -0400
commit91176d9ccc1dde8155c10411c70e62a9f4b059d5 (patch)
tree21365f5a8dd09534a53d9f88d2a7a3116f3f3f98 /MediaBrowser.Server.Startup.Common/UpdateLevelHelper.cs
parentc37c9a75073b1b9caa3af2c3bc62abd837bd630e (diff)
parent4e10daf646e0788409f2bc52ef70effa2616e3f3 (diff)
Merge pull request #2677 from MediaBrowser/beta
Beta
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/UpdateLevelHelper.cs')
-rw-r--r--MediaBrowser.Server.Startup.Common/UpdateLevelHelper.cs27
1 files changed, 0 insertions, 27 deletions
diff --git a/MediaBrowser.Server.Startup.Common/UpdateLevelHelper.cs b/MediaBrowser.Server.Startup.Common/UpdateLevelHelper.cs
deleted file mode 100644
index 7f3e27d91..000000000
--- a/MediaBrowser.Server.Startup.Common/UpdateLevelHelper.cs
+++ /dev/null
@@ -1,27 +0,0 @@
-using System;
-using System.Configuration;
-using MediaBrowser.Common.Configuration;
-using MediaBrowser.Model.Updates;
-
-namespace MediaBrowser.Server.Startup.Common
-{
- public static class UpdateLevelHelper
- {
- public static PackageVersionClass GetSystemUpdateLevel(IConfigurationManager config)
- {
- return config.CommonConfiguration.SystemUpdateLevel;
- //var configuredValue = ConfigurationManager.AppSettings["SystemUpdateLevel"];
-
- //if (string.Equals(configuredValue, "Beta", StringComparison.OrdinalIgnoreCase))
- //{
- // return PackageVersionClass.Beta;
- //}
- //if (string.Equals(configuredValue, "Dev", StringComparison.OrdinalIgnoreCase))
- //{
- // return PackageVersionClass.Dev;
- //}
-
- //return PackageVersionClass.Release;
- }
- }
-}