From 588a83905b0ce29b5d063d8f310d4d93967656d6 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 30 Sep 2006 12:34:53 +0000 Subject: [PATCH] hook for RC events --- includes/RecentChange.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/RecentChange.php b/includes/RecentChange.php index fff45a732a..ebd4b3358a 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -173,7 +173,7 @@ class RecentChange } } - // E-mail notifications + # E-mail notifications global $wgUseEnotif; if( $wgUseEnotif ) { # this would be better as an extension hook @@ -187,6 +187,8 @@ class RecentChange $this->mAttribs['rc_last_oldid'] ); } + # Notify extensions + wfRunHooks( 'RecentChange_save', array( &$this ) ); } # Marks a certain row as patrolled -- 2.20.1