From 3fa0e414a5ccdde5a84ba41d56cd91d1be11b89f Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Mon, 7 Mar 2016 14:38:49 +0100 Subject: [PATCH] Replace deprecated functions Change-Id: I767cc8d5492d1c0a47c123d06304f43c69e2775d --- MonoBookTemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MonoBookTemplate.php b/MonoBookTemplate.php index adffa58..46b5b81 100644 --- a/MonoBookTemplate.php +++ b/MonoBookTemplate.php @@ -39,7 +39,7 @@ class MonoBookTemplate extends BaseTemplate { */ public function execute() { // Suppress warnings to prevent notices about missing indexes in $this->data - wfSuppressWarnings(); + \MediaWiki\suppressWarnings(); $this->html( 'headelement' ); ?>
@@ -192,7 +192,7 @@ class MonoBookTemplate extends BaseTemplate { echo Html::closeElement( 'body' ); echo Html::closeElement( 'html' ); echo "\n"; - wfRestoreWarnings(); + \MediaWiki\suppressWarnings(); } // end of execute() method /*************************************************************************************************/