From cb7581a7a85827d8a70ae4ef61f08b471d09b465 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 28 Dec 2011 18:33:08 -0800 Subject: [PATCH] Remove the showPerformance setting, it's now subsumed into the Plack debug console. --- lib/WebGUI/Operation/Settings.pm | 8 -------- share/upgrades/7.10.23-8.0.0/removeShowPerformance.pl | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 share/upgrades/7.10.23-8.0.0/removeShowPerformance.pl diff --git a/lib/WebGUI/Operation/Settings.pm b/lib/WebGUI/Operation/Settings.pm index 6453b1936..856dc5c0d 100644 --- a/lib/WebGUI/Operation/Settings.pm +++ b/lib/WebGUI/Operation/Settings.pm @@ -370,14 +370,6 @@ sub definition { hoverHelp=>$i18n->get('707 description'), defaultValue=>$setting->get("showDebug") }); - push(@fields, { - tab=>"misc", - fieldType=>"yesNo", - name=>"showPerformanceIndicators", - label=>$i18n->get('show performance indicators'), - hoverHelp=>$i18n->get('show performance indicators description'), - defaultValue=>$setting->get("showPerformanceIndicators") - }); push(@fields, { tab=>"misc", fieldType=>"selectBox", diff --git a/share/upgrades/7.10.23-8.0.0/removeShowPerformance.pl b/share/upgrades/7.10.23-8.0.0/removeShowPerformance.pl new file mode 100644 index 000000000..3a238e7f1 --- /dev/null +++ b/share/upgrades/7.10.23-8.0.0/removeShowPerformance.pl @@ -0,0 +1,7 @@ +use WebGUI::Upgrade::Script; + +start_step "Removing show performance setting"; + +session->setting->remove('showPerformanceIndicators'); + +done;