From: Chad Horohoe Date: Wed, 21 Apr 2010 13:49:50 +0000 (+0000) Subject: Revert r65382, can't use global functions here. X-Git-Tag: 1.31.0-rc.0~37046 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=3ac71bbb041e305ebca88d0a43d7bcd6f0482460;p=lhc%2Fweb%2Fwiklou.git Revert r65382, can't use global functions here. --- diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 37432c8e56..409d399bea 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -644,9 +644,7 @@ abstract class Maintenance { } $wgShowSQLErrors = true; - wfSuppressWarnings(); - set_time_limit( 0 ); - wfRestoreWarnings(); + @set_time_limit( 0 ); ini_set( 'memory_limit', $this->memoryLimit() ); $wgProfiling = false; // only for Profiler.php mode; avoids OOM errors