diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-05 11:50:21 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-12-05 11:50:21 -0500 |
| commit | 55a776427b97bec48a70a4b4f403b52935b620ea (patch) | |
| tree | 5fc0e1feaee36df2116a4842d3eb9d27c491bbae /MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs | |
| parent | 9e84a712ae3da9eada815e790160a17153b76d37 (diff) | |
Removed unused properties from BaseItem.
Diffstat (limited to 'MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs')
| -rw-r--r-- | MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs b/MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs index 1a5f9e2c3..ea346e1be 100644 --- a/MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs +++ b/MediaBrowser.ServerApplication/EntryPoints/StartupWizard.cs @@ -3,10 +3,8 @@ using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Library; using MediaBrowser.Controller.Plugins; using MediaBrowser.Model.Logging; -using System; -using System.Linq; -using System.Windows.Forms; using MediaBrowser.ServerApplication.Native; +using System.Linq; namespace MediaBrowser.ServerApplication.EntryPoints { @@ -58,16 +56,7 @@ namespace MediaBrowser.ServerApplication.EntryPoints { var user = _userManager.Users.FirstOrDefault(u => u.Configuration.IsAdministrator); - try - { - BrowserLauncher.OpenDashboardPage("wizardstart.html", user, _configurationManager, _appHost, _logger); - } - catch (Exception ex) - { - _logger.ErrorException("Error launching startup wizard", ex); - - MessageBox.Show("There was an error launching the Media Browser startup wizard. Please ensure a web browser is installed on the machine and is configured as the default browser.", "Media Browser"); - } + BrowserLauncher.OpenDashboardPage("wizardstart.html", user, _configurationManager, _appHost, _logger); } /// <summary> |
