diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-12 00:07:19 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-12 00:07:19 -0500 |
| commit | f45e16660416a44b75716e9f33621fb711c98b5b (patch) | |
| tree | 7975c90600d4fbb2ba1b71938141bcf58676073f /MediaBrowser.Server.Startup.Common/ApplicationHost.cs | |
| parent | 231e89e4b91c95efbff4a75396e6a0426d409271 (diff) | |
update nlog
Diffstat (limited to 'MediaBrowser.Server.Startup.Common/ApplicationHost.cs')
| -rw-r--r-- | MediaBrowser.Server.Startup.Common/ApplicationHost.cs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs index fa068a7de..013e9205a 100644 --- a/MediaBrowser.Server.Startup.Common/ApplicationHost.cs +++ b/MediaBrowser.Server.Startup.Common/ApplicationHost.cs @@ -750,16 +750,11 @@ namespace MediaBrowser.Server.Startup.Common /// </summary> protected override void FindParts() { - // TODO: Remove after next release - if (!IsFirstRun && !ServerConfigurationManager.Configuration.IsPortAuthorized) - { - ServerConfigurationManager.Configuration.IsPortAuthorized = true; - ConfigurationManager.SaveConfiguration(); - } - if (!ServerConfigurationManager.Configuration.IsPortAuthorized) { RegisterServerWithAdministratorAccess(); + ServerConfigurationManager.Configuration.IsPortAuthorized = true; + ConfigurationManager.SaveConfiguration(); } base.FindParts(); |
