From 3bb732703c2100801d6b56641b6577ad5ca09e11 Mon Sep 17 00:00:00 2001 From: Piotr Przybylski Date: Sun, 18 Jan 2009 18:55:00 +0000 Subject: [PATCH] Setup script: removed useless error handler code, closes bug 2468811 --- setup/lib/common.inc.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/setup/lib/common.inc.php b/setup/lib/common.inc.php index 39a9a98a7..25f4a9c3e 100644 --- a/setup/lib/common.inc.php +++ b/setup/lib/common.inc.php @@ -8,9 +8,6 @@ * @version $Id$ */ -// TODO: remove -error_reporting(E_ALL | E_STRICT); - /** * Do not include full common. * @ignore @@ -23,11 +20,8 @@ require_once './libraries/common.inc.php'; require_once './libraries/url_generating.lib.php'; require_once './setup/lib/ConfigFile.class.php'; -// TODO: remove +// use default error handler restore_error_handler(); -if ($error_handler->countErrors() > 0) { - $error_handler->dispAllErrors(); -} // Save current language in a cookie, required since we use PMA_MINIMUM_COMMON PMA_setCookie('pma_lang', $GLOBALS['lang']);