diff options
| author | Andrew Dolgov <fox@madoka.spb.ru> | 2006-03-31 06:18:55 +0100 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.spb.ru> | 2006-03-31 06:18:55 +0100 |
| commit | af106b0ebe0b34189a83bbfb64e9c9ace044a273 (patch) | |
| tree | 821e7cefa3f9011626bc51a34bc7209c445e1036 /functions.js | |
| parent | 6e7f8d269e3c84807072607edc765d6c0f72712c (diff) | |
better fatal error handling by frontend (remove error.php)
Diffstat (limited to 'functions.js')
| -rw-r--r-- | functions.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/functions.js b/functions.js index 9858608ca..99efbcbac 100644 --- a/functions.js +++ b/functions.js @@ -574,15 +574,6 @@ function hideOrShowFeeds(doc, hide) { } -function fatalError(code, params) { - if (!params) { - window.location = "error.php?c=" + param_escape(code); - } else { - window.location = "error.php?c=" + param_escape(code) + - "&p=" + param_escape(params); - } -} - function selectTableRow(r, do_select) { r.className = r.className.replace("Selected", ""); |