r65382 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r65381
|
r65382
|
r65383
>
Date:
13:44, 21 April 2010
Author:
demon
Status:
reverted
Tags:
Comment:
Use wfSuppress/RestoreWarnings instead of @
Modified paths:
/trunk/phase3/maintenance/Maintenance.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/maintenance/Maintenance.php
—
—
@@ -644,7 +644,9 @@
645
645
}
646
646
647
647
$wgShowSQLErrors = true;
648
- @set_time_limit( 0 );
648
+ wfSuppressWarnings();
649
+ set_time_limit( 0 );
650
+ wfRestoreWarnings();
649
651
ini_set( 'memory_limit', $this->memoryLimit() );
650
652
651
653
$wgProfiling = false; // only for Profiler.php mode; avoids OOM errors
Follow-up revisions
Revision
Commit summary
Author
Date
r65386
Revert
r65382
, can't use global functions here.
demon
13:49, 21 April 2010
Status & tagging log
11:13, 24 April 2010
Catrope
(
talk
|
contribs
)
changed the
status
of r65382
[
removed:
new
added:
reverted]