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 +}