From 8dc6f7c06549fcdbd625e9f11a3932c534053b7d Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Sun, 27 Nov 2005 14:50:12 +0000 Subject: [PATCH] Wrap reference in an array --- includes/Article.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Article.php b/includes/Article.php index 563191c5d2..76670c241e 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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. -- 2.20.1