diff options
author | Andrew Dolgov <[email protected]> | 2017-03-04 14:34:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2017-03-04 14:34:44 +0300 |
commit | 1bfe1d7b31d5202846beb3425039776fbdbbfb85 (patch) | |
tree | e4c291a6938c060696bd9f499fab89ebcac394ab /classes/pref | |
parent | e6d66fe55ca217aeb0fb54b49ac9e7338d519c96 (diff) |
simplify error handling
* less convoluted exception dialogs
* use window.onerror for the majority of exception catching/reporting
* remove most of now useless try/catch blocks
* report stacktrace instead of manually specified error locations
Diffstat (limited to 'classes/pref')
-rw-r--r-- | classes/pref/prefs.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index ece9e8078..5ec7079dc 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -686,16 +686,6 @@ class Pref_Prefs extends Handler_Protected { print " "; - /* $checked = $_SESSION["prefs_show_advanced"] ? "checked='1'" : ""; - - print "<input onclick='toggleAdvancedPrefs()' - id='prefs_show_advanced' - dojoType=\"dijit.form.CheckBox\" - $checked - type=\"checkbox\"></input> - <label for='prefs_show_advanced'>" . - __("Show additional preferences") . "</label>"; */ - PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB_SECTION, "hook_prefs_tab_section", "prefPrefsPrefsOutside"); |