http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65382

Revision: 65382
Author:   demon
Date:     2010-04-21 13:44:53 +0000 (Wed, 21 Apr 2010)

Log Message:
-----------
Use wfSuppress/RestoreWarnings instead of @

Modified Paths:
--------------
    trunk/phase3/maintenance/Maintenance.php

Modified: trunk/phase3/maintenance/Maintenance.php
===================================================================
--- trunk/phase3/maintenance/Maintenance.php    2010-04-21 13:39:20 UTC (rev 
65381)
+++ trunk/phase3/maintenance/Maintenance.php    2010-04-21 13:44:53 UTC (rev 
65382)
@@ -644,7 +644,9 @@
                }
 
                $wgShowSQLErrors = true;
-               @set_time_limit( 0 );
+               wfSuppressWarnings();
+               set_time_limit( 0 );
+               wfRestoreWarnings();
                ini_set( 'memory_limit', $this->memoryLimit() );
 
                $wgProfiling = false; // only for Profiler.php mode; avoids OOM 
errors



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to