mirror of
https://bitbucket.org/vertlach/voteny.git
synced 2024-07-02 19:45:00 +03:00
Removed PHP4-ism
This commit is contained in:
parent
ae507a6ca3
commit
656b42d1fc
|
@ -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 ) . ')';
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue