From: Tim Starling Date: Sat, 30 Sep 2006 12:34:53 +0000 (+0000) Subject: hook for RC events X-Git-Tag: 1.31.0-rc.0~55693 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=588a83905b0ce29b5d063d8f310d4d93967656d6;p=lhc%2Fweb%2Fwiklou.git hook for RC events --- 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