removed developer tool setting

pull/702/head
Luke Pulverenti 11 years ago
parent 74f0d8bdbe
commit cf094f9a6d

@ -174,12 +174,6 @@ namespace MediaBrowser.Model.Configuration
/// <value>The file watcher delay.</value> /// <value>The file watcher delay.</value>
public int FileWatcherDelay { get; set; } public int FileWatcherDelay { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [enable developer tools].
/// </summary>
/// <value><c>true</c> if [enable developer tools]; otherwise, <c>false</c>.</value>
public bool EnableDeveloperTools { get; set; }
/// <summary> /// <summary>
/// Gets or sets a value indicating whether [enable dashboard response caching]. /// Gets or sets a value indicating whether [enable dashboard response caching].
/// Allows potential contributors without visual studio to modify production dashboard code and test changes. /// Allows potential contributors without visual studio to modify production dashboard code and test changes.
@ -255,10 +249,6 @@ namespace MediaBrowser.Model.Configuration
EnableEpisodeChapterImageExtraction = false; EnableEpisodeChapterImageExtraction = false;
EnableOtherVideoChapterImageExtraction = false; EnableOtherVideoChapterImageExtraction = false;
#if (DEBUG)
EnableDeveloperTools = true;
#endif
MinResumePct = 5; MinResumePct = 5;
MaxResumePct = 90; MaxResumePct = 90;
MinResumeDurationSeconds = Convert.ToInt32(TimeSpan.FromMinutes(5).TotalSeconds); MinResumeDurationSeconds = Convert.ToInt32(TimeSpan.FromMinutes(5).TotalSeconds);

@ -133,14 +133,10 @@ namespace MediaBrowser.ServerApplication
{ {
Dispatcher.InvokeAsync(() => Dispatcher.InvokeAsync(() =>
{ {
var developerToolsVisibility = _configurationManager.Configuration.EnableDeveloperTools separatorDeveloperTools.Visibility = Visibility.Visible;
? Visibility.Visible cmdReloadServer.Visibility = Visibility.Visible;
: Visibility.Collapsed; cmOpenExplorer.Visibility = Visibility.Visible;
cmShowLogWindow.Visibility = Visibility.Visible;
separatorDeveloperTools.Visibility = developerToolsVisibility;
cmdReloadServer.Visibility = developerToolsVisibility;
cmOpenExplorer.Visibility = developerToolsVisibility;
cmShowLogWindow.Visibility = developerToolsVisibility;
}); });
} }

Loading…
Cancel
Save