From af106b0ebe0b34189a83bbfb64e9c9ace044a273 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 31 Mar 2006 06:18:55 +0100 Subject: better fatal error handling by frontend (remove error.php) --- functions.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'functions.js') 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", ""); -- cgit v1.2.3-54-g00ecf