summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2019-04-19 09:52:20 -0400
committerBrian Evans <grknight@gentoo.org>2019-04-19 09:52:20 -0400
commit9d8736ca4a8c6ee7d5fc5235fd448f321c57af4e (patch)
treefbd4f04f0179441e8f782b2f6aeb5a064c3054bb
parentRemove defunct Google+ (diff)
downloadskin-tyrian-9d8736ca4a8c6ee7d5fc5235fd448f321c57af4e.tar.gz
skin-tyrian-9d8736ca4a8c6ee7d5fc5235fd448f321c57af4e.tar.bz2
skin-tyrian-9d8736ca4a8c6ee7d5fc5235fd448f321c57af4e.zip
Remove deprecated functions
Signed-off-by: Brian Evans <grknight@gentoo.org>
-rw-r--r--TyrianTemplate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/TyrianTemplate.php b/TyrianTemplate.php
index 0a9efbd..7ab9a56 100644
--- a/TyrianTemplate.php
+++ b/TyrianTemplate.php
@@ -9,7 +9,7 @@
*/
class TyrianTemplate extends BaseTemplate {
public function execute() {
- wfSuppressWarnings();
+ MediaWiki\suppressWarnings();
$this->html( 'headelement' );
@@ -68,7 +68,7 @@ class TyrianTemplate extends BaseTemplate {
$this->printTrail();
echo Html::closeElement( 'body' );
echo Html::closeElement( 'html' );
- wfRestoreWarnings();
+ MediaWiki\suppressWarnings(true);
} // end of execute() method
/*************************************************************************************************/