From: WMDE-Fisch Date: Mon, 22 Jan 2018 17:53:09 +0000 (+0100) Subject: Use MediaWiki\restoreWarnings in deprecated wfRestoreWarnings X-Git-Tag: 1.31.0-rc.0~826^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=d9066cb5f9e5f4c2c37e5163cd52d76519231f39;p=lhc%2Fweb%2Fwiklou.git Use MediaWiki\restoreWarnings in deprecated wfRestoreWarnings This will give devs a better hint on how to replace this. Change-Id: I2332b6173b7816aef11841725752745e174fa69f --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index b181628bd5..a06d72100f 100644 --- 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(); } /**