Changed more magic __get method calls to accessors, were throwing notices

This commit is contained in:
Alexandre Emsenhuber 2011-06-11 07:02:34 +00:00
parent 575ad94a1b
commit c077d5c9c9

View file

@ -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();