From 4097c665bacbcada235ee699be8bda51a2fe0b82 Mon Sep 17 00:00:00 2001 From: quix0r 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