From 97878c044f3e71156ff35d23d0f90e15e61d0012 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 9 Jan 2009 18:05:58 +0000 Subject: [PATCH] Make sure feeds reflect changes due to flaggedrevs --- includes/RecentChange.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/RecentChange.php b/includes/RecentChange.php index b5345d08d1..5c6bdddc9d 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -166,6 +166,9 @@ class RecentChange # Set the ID $this->mAttribs['rc_id'] = $dbw->insertId(); + + # Notify extensions + wfRunHooks( 'RecentChange_save', array( &$this ) ); # Notify external application via UDP if( $wgRC2UDPAddress && ( !$this->mAttribs['rc_bot'] || !$wgRC2UDPOmitBots ) ) { @@ -193,9 +196,6 @@ class RecentChange $this->mAttribs['rc_minor'], $this->mAttribs['rc_last_oldid'] ); } - - # Notify extensions - wfRunHooks( 'RecentChange_save', array( &$this ) ); } /** -- 2.20.1