From dc96f3adc229c28abb599bdfb407075b8717e80e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 12 Nov 2012 18:05:23 +0000 Subject: [PATCH] Restoring the error handler is no longer required as mailer's own handler does now care about installation phase --- inc/install/install_page_finalize.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/inc/install/install_page_finalize.php b/inc/install/install_page_finalize.php index 0b6229945d..da7993effb 100644 --- a/inc/install/install_page_finalize.php +++ b/inc/install/install_page_finalize.php @@ -45,13 +45,6 @@ if ((isPostRequestElementSet('finalize')) && (!isInstalled())) { // You have submitted data then we have to reset the SQLs initSqls(); - /* - * Restore PHPs error handler to prevent ours to handle errors, - * e.g. failed connection attempts. We want to handle them on - * our own. - */ - restore_error_handler(); - // Connect to database server SQL_CONNECT($GLOBALS['install_mysql']['host'], $GLOBALS['install_mysql']['login'], $GLOBALS['install_mysql']['pass1'], __FILE__, __LINE__); -- 2.39.5