aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Robson <jrobson@wikimedia.org>2021-08-04 15:27:37 -0400
committerBrian Evans <grknight@gentoo.org>2021-08-04 15:27:37 -0400
commit21d01663e69adcbeda8c7ded9a1065daaaba4baf (patch)
tree25e868c4213c554fa2a60d927ade4d9f8ae6a7e5
parentRemove CVS from menu drop down (diff)
downloadskin-tyrian-21d01663e69adcbeda8c7ded9a1065daaaba4baf.tar.gz
skin-tyrian-21d01663e69adcbeda8c7ded9a1065daaaba4baf.tar.bz2
skin-tyrian-21d01663e69adcbeda8c7ded9a1065daaaba4baf.zip
Remove deprecated function call to setupSkinUserCss
Closes: https://bugs.gentoo.org/806418 Signed-off-by: Brian Evans <grknight@gentoo.org>
-rw-r--r--SkinTyrian.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/SkinTyrian.php b/SkinTyrian.php
index 9a731ff..03dd361 100644
--- a/SkinTyrian.php
+++ b/SkinTyrian.php
@@ -4,7 +4,7 @@
* MediaWiki implementation based on MonoBook nouveau.
*
* Copyright (C) 2014-2016 Alex Legler <a3li@gentoo.org>
- * Copyright (C) 2016-2019 Gentoo wiki project <wiki@gentoo.org>
+ * Copyright (C) 2016-2021 Gentoo wiki project <wiki@gentoo.org>
*/
/**
@@ -20,11 +20,9 @@ class SkinTyrian extends SkinTemplate {
const CDN_URL = 'https://assets.gentoo.org/tyrian/';
- public function setupSkinUserCss(OutputPage $out) {
+ public function setupTyrianSkinUserCss(OutputPage $out) {
$this->output = $out;
- parent::setupSkinUserCss($out);
-
$out->addStyle(SkinTyrian::CDN_URL . 'bootstrap.min.css');
$out->addStyle(SkinTyrian::CDN_URL . 'tyrian.min.css');
@@ -43,6 +41,7 @@ class SkinTyrian extends SkinTemplate {
public function initPage( OutputPage $out ) {
parent::initPage( $out );
+ $this->setupTyrianSkinUserCss( $out );
$cdnURL = self::CDN_URL . 'bootstrap.min.js';
$script = <<<EOS
function defer(method) {