aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Startup.Common/UpdateLevelHelper.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-24 15:12:55 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-24 15:12:55 -0400
commitf07af448fa11330db93dd7ddcabac37ef9e014c7 (patch)
tree1b52a4f73d674a48258c2f14c94117b96ca4a678 /MediaBrowser.Server.Startup.Common/UpdateLevelHelper.cs
parent27c3acb2bfde9025c33f584c759a4038020cb702 (diff)
update main projects
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;
- }
- }
-}