From 3ac71bbb041e305ebca88d0a43d7bcd6f0482460 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 21 Apr 2010 13:49:50 +0000 Subject: [PATCH] Revert r65382, can't use global functions here. --- maintenance/Maintenance.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.20.1