Changed more magic __get method calls to accessors, were throwing notices
This commit is contained in:
parent
575ad94a1b
commit
c077d5c9c9
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue