Replace deprecated functions
Change-Id: I767cc8d5492d1c0a47c123d06304f43c69e2775d
This commit is contained in:
parent
ee64401631
commit
3fa0e414a5
1 changed files with 2 additions and 2 deletions
|
@ -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' );
|
||||
?><div id="globalWrapper">
|
||||
|
@ -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
|
||||
|
||||
/*************************************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue