From: Aaron Schulz Date: Fri, 9 Jan 2009 18:05:58 +0000 (+0000) Subject: Make sure feeds reflect changes due to flaggedrevs X-Git-Tag: 1.31.0-rc.0~43478 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=97878c044f3e71156ff35d23d0f90e15e61d0012;p=lhc%2Fweb%2Fwiklou.git Make sure feeds reflect changes due to flaggedrevs --- 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 ) ); } /**