Wrap reference in an array
authorAntoine Musso <hashar@users.mediawiki.org>
Sun, 27 Nov 2005 14:50:12 +0000 (14:50 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sun, 27 Nov 2005 14:50:12 +0000 (14:50 +0000)
includes/Article.php

index 563191c..76670c2 100644 (file)
@@ -2181,7 +2181,7 @@ class Article {
                global $wgDeferredUpdateList, $wgDBname, $wgMemc;
                global $wgMessageCache, $wgUser, $wgUseEnotif;
 
-               if ( wfRunHooks( 'ArticleEditUpdatesDeleteFromRecentchanges', &$this ) ) {
+               if ( wfRunHooks( 'ArticleEditUpdatesDeleteFromRecentchanges', array( &$this ) ) ) {
                        wfSeedRandom();
                        if ( 0 == mt_rand( 0, 999 ) ) {
                                # Periodically flush old entries from the recentchanges table.