From: Ævar Arnfjörð Bjarmason Date: Fri, 30 Sep 2005 20:22:46 +0000 (+0000) Subject: * Passing whether or not the page is protected in the SkinTemplateSetupPageCss hook X-Git-Tag: 1.6.0~1557 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=0705fbea2c523ad53f9b8d32829f815bf037880c;p=lhc%2Fweb%2Fwiklou.git * Passing whether or not the page is protected in the SkinTemplateSetupPageCss hook --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 7a4b5a2a7c..0902e44b8f 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -953,7 +953,7 @@ class SkinTemplate extends Skin { $fname = 'SkinTemplate::setupPageCss'; wfProfileIn( $fname ); $out = false; - wfRunHooks( 'SkinTemplateSetupPageCss', array( &$out ) ); + wfRunHooks( 'SkinTemplateSetupPageCss', array( &$out, $this->mTitle->isProtected() ) ); wfProfileOut( $fname ); return $out; }