diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-04-09 21:52:03 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-09 21:52:03 -0400 |
| commit | d01c79b8756b1a0884744b6afd129673d35a8964 (patch) | |
| tree | e1c70188b360d65f1ef6d654aa2d6a82ebb98d0b /Emby.Server.Core | |
| parent | e25c538ac70b014f9872d3fde18339a8c0d9bcbf (diff) | |
| parent | 34c5aab607fb5d9240a6286747a70a0b448e019b (diff) | |
Merge pull request #2571 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Core')
| -rw-r--r-- | Emby.Server.Core/ApplicationHost.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Server.Core/ApplicationHost.cs b/Emby.Server.Core/ApplicationHost.cs index 50c572b8c..90fa924e6 100644 --- a/Emby.Server.Core/ApplicationHost.cs +++ b/Emby.Server.Core/ApplicationHost.cs @@ -1366,7 +1366,7 @@ namespace Emby.Server.Core SupportsLibraryMonitor = true, EncoderLocationType = MediaEncoder.EncoderLocationType, SystemArchitecture = EnvironmentInfo.SystemArchitecture, - SystemUpdateLevel = ConfigurationManager.CommonConfiguration.SystemUpdateLevel, + SystemUpdateLevel = SystemUpdateLevel, PackageName = StartupOptions.GetOption("-package") }; } @@ -1591,7 +1591,7 @@ namespace Emby.Server.Core } catch (NotImplementedException) { - + } catch (Exception ex) { @@ -1632,7 +1632,7 @@ namespace Emby.Server.Core public override async Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress) { var cacheLength = TimeSpan.FromHours(3); - var updateLevel = ConfigurationManager.CommonConfiguration.SystemUpdateLevel; + var updateLevel = SystemUpdateLevel; if (updateLevel == PackageVersionClass.Beta) { |
