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:
e8b7742
)
Use MediaWiki\restoreWarnings in deprecated wfRestoreWarnings
author
WMDE-Fisch
<christoph.jauera@wikimedia.de>
Mon, 22 Jan 2018 17:53:09 +0000
(18:53 +0100)
committer
WMDE-Fisch
<christoph.jauera@wikimedia.de>
Mon, 22 Jan 2018 17:53:11 +0000
(18:53 +0100)
This will give devs a better hint on how to replace this.
Change-Id: I2332b6173b7816aef11841725752745e174fa69f
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
b181628
..
a06d721
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-2021,7
+2021,7
@@
function wfSuppressWarnings( $end = false ) {
* Restore error level to previous value
*/
function wfRestoreWarnings() {
- MediaWiki\
suppressWarnings( true
);
+ MediaWiki\
restoreWarnings(
);
}
/**