mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 19:15:56 +00:00
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
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user