From: Roland Häder Date: Mon, 12 Nov 2012 18:05:23 +0000 (+0000) Subject: Restoring the error handler is no longer required as mailer's own handler does now... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dc96f3adc229c28abb599bdfb407075b8717e80e;hp=af39da5aa7cc3737e01238755060dea0eb376896;p=mailer.git Restoring the error handler is no longer required as mailer's own handler does now care about installation phase --- 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__);