From 656b42d1fcc0b889ddee7cdb4110ee94c82a7874 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 11 Dec 2011 09:02:57 +0000 Subject: [PATCH] Removed PHP4-ism --- VoteClass.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VoteClass.php b/VoteClass.php index 725f42e..7be0ce7 100644 --- a/VoteClass.php +++ b/VoteClass.php @@ -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 ) . ')'; } -} \ No newline at end of file +}