mirror of
https://bitbucket.org/vertlach/voteny.git
synced 2024-05-16 13:58:15 +03:00
VoteNY: follow-up to r108076: specify oldid parameter for Article constructor as per CR
This commit is contained in:
parent
a3c82a518b
commit
5127c15006
|
@ -107,7 +107,7 @@ class Vote {
|
|||
$pageTitle->purgeSquid();
|
||||
|
||||
// Kill parser cache
|
||||
$article = new Article( $pageTitle );
|
||||
$article = new Article( $pageTitle, /* oldid */0 );
|
||||
$parserCache = ParserCache::singleton();
|
||||
$parserKey = $parserCache->getKey( $article, $wgUser );
|
||||
$wgMemc->delete( $parserKey );
|
||||
|
|
Loading…
Reference in a new issue