From 25cf0fa1ca8aa67a561f36c2062b6eb2ee583c41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 7 Mar 2016 23:21:13 +0000 Subject: [PATCH] Revert "Replace deprecated functions" This reverts commit 3fa0e414a5ccdde5a84ba41d56cd91d1be11b89f. Change-Id: Ia847aed9b0f0f15ef617b60b0902ee6462c16adc --- MonoBookTemplate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MonoBookTemplate.php b/MonoBookTemplate.php index 46b5b81..adffa58 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 - \MediaWiki\suppressWarnings(); + wfSuppressWarnings(); $this->html( 'headelement' ); ?>
@@ -192,7 +192,7 @@ class MonoBookTemplate extends BaseTemplate { echo Html::closeElement( 'body' ); echo Html::closeElement( 'html' ); echo "\n"; - \MediaWiki\suppressWarnings(); + wfRestoreWarnings(); } // end of execute() method /*************************************************************************************************/