From: Alexandre Emsenhuber Date: Sat, 11 Jun 2011 07:02:34 +0000 (+0000) Subject: Changed more magic __get method calls to accessors, were throwing notices X-Git-Tag: 1.31.0-rc.0~29579 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=c077d5c9c92fc7c50f45c2d12fdbcfe708801da5;p=lhc%2Fweb%2Fwiklou.git Changed more magic __get method calls to accessors, were throwing notices --- diff --git a/includes/Skin.php b/includes/Skin.php index cab34d272c..045aacd34c 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -511,7 +511,7 @@ abstract class Skin { function getCategoryLinks() { global $wgUseCategoryBrowser, $wgContLang; - $out = $this->getContext()->output; + $out = $this->getContext()->getOutput(); if ( count( $out->mCategoryLinks ) == 0 ) { return ''; @@ -601,7 +601,7 @@ abstract class Skin { } function getCategories() { - $out = $this->getContext()->output; + $out = $this->getContext()->getOutput(); $catlinks = $this->getCategoryLinks();