dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f917a0
)
Use wfSuppress/RestoreWarnings instead of @
author
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 21 Apr 2010 13:44:53 +0000
(13:44 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 21 Apr 2010 13:44:53 +0000
(13:44 +0000)
maintenance/Maintenance.php
patch
|
blob
|
history
diff --git
a/maintenance/Maintenance.php
b/maintenance/Maintenance.php
index
409d399
..
37432c8
100644
(file)
--- a/
maintenance/Maintenance.php
+++ b/
maintenance/Maintenance.php
@@
-644,7
+644,9
@@
abstract class Maintenance {
}
$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