From 77928b644ada407a0c8b0be3af5acdefeb3040ef Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Tue, 6 May 2008 14:57:14 +0000 Subject: [PATCH] Uh, I checked in the wrong changed line. :D Correction for last commit: "This needs to be protected, actually, so that inheritance works properly." --- includes/SkinTemplate.php | 2 +- skins/Simple.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 9feece1d0e..0c73d15c7f 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -1065,7 +1065,7 @@ class SkinTemplate extends Skin { * * @return string */ - private function getPrintCss() { + protected function getPrintCss() { global $wgStylePath; return $wgStylePath . "/common/commonPrint.css"; } diff --git a/skins/Simple.php b/skins/Simple.php index 2d9d47e8f2..4fb46e9c55 100644 --- a/skins/Simple.php +++ b/skins/Simple.php @@ -24,8 +24,6 @@ class SkinSimple extends SkinTemplate { $this->template = 'MonoBookTemplate'; } - protected function getPrintCss() { return "afasfsdasdsa"; } - function reallyDoGetUserStyles() { global $wgUser; $s = ''; -- 2.20.1