Revert "Replace deprecated functions"

This reverts commit 3fa0e414a5.

Change-Id: Ia847aed9b0f0f15ef617b60b0902ee6462c16adc
This commit is contained in:
Bartosz Dziewoński 2016-03-07 23:21:13 +00:00
parent 3fa0e414a5
commit 25cf0fa1ca

View file

@ -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' );
?><div id="globalWrapper">
@ -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
/*************************************************************************************************/