From d9066cb5f9e5f4c2c37e5163cd52d76519231f39 Mon Sep 17 00:00:00 2001 From: WMDE-Fisch Date: Mon, 22 Jan 2018 18:53:09 +0100 Subject: [PATCH] Use MediaWiki\restoreWarnings in deprecated wfRestoreWarnings This will give devs a better hint on how to replace this. Change-Id: I2332b6173b7816aef11841725752745e174fa69f --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } /** -- 2.20.1