mirror of
https://bitbucket.org/vertlach/voteny.git
synced 2024-07-07 20:34:21 +03:00
Removed PHP4-ism
This commit is contained in:
parent
ae507a6ca3
commit
656b42d1fc
|
@ -103,7 +103,7 @@ class Vote {
|
||||||
|
|
||||||
// Kill parser cache
|
// Kill parser cache
|
||||||
$article = new Article( $page_title );
|
$article = new Article( $page_title );
|
||||||
$parserCache =& ParserCache::singleton();
|
$parserCache = ParserCache::singleton();
|
||||||
$parser_key = $parserCache->getKey( $article, $wgUser );
|
$parser_key = $parserCache->getKey( $article, $wgUser );
|
||||||
$wgMemc->delete( $parser_key );
|
$wgMemc->delete( $parser_key );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue