Removed PHP4-ism

This commit is contained in:
Alexandre Emsenhuber 2011-12-11 09:02:57 +00:00
parent ae507a6ca3
commit 656b42d1fc

View file

@ -103,7 +103,7 @@ class Vote {
// Kill parser cache
$article = new Article( $page_title );
$parserCache =& ParserCache::singleton();
$parserCache = ParserCache::singleton();
$parser_key = $parserCache->getKey( $article, $wgUser );
$wgMemc->delete( $parser_key );
}
@ -352,4 +352,4 @@ class VoteStars extends Vote {
' (' . wfMsgExt( 'vote-ratings', 'parsemag', $count ) . ')';
}
}
}