X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FGlobalFunctions.php;h=a06d72100f2c346a152cb414d8a509d0871145ce;hb=288a30974a64267cd17878b31b7c51dca87302e5;hp=b181628bd510e8fc78c259118684b864c7fe4364;hpb=d967d1d9128f7f92391d4985edd5c9903c98c6aa;p=lhc%2Fweb%2Fwiklou.git 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(); } /**