r34994 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r34993‎ | r34994 | r34995 >
Date:22:32, 17 May 2008
Author:aaron
Status:old
Tags:
Comment:
Revert self - bogus location
Modified paths:
  • /trunk/phase3/includes/RecentChange.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/RecentChange.php
@@ -223,9 +223,9 @@
224224
225225 # E-mail notifications
226226 global $wgUseEnotif, $wgUser;
227 - if( $wgUseEnotif && $this->mAttribs['rc_user'] != $wgUser->getID() ) {
 227+ if( $wgUseEnotif ) {
228228 # FIXME: this would be better as an extension hook
229 - $enotif = new EmailNotification;
 229+ $enotif = new EmailNotification();
230230 $title = Title::makeTitle( $this->mAttribs['rc_namespace'], $this->mAttribs['rc_title'] );
231231 $enotif->notifyOnPageChange( $wgUser, $title,
232232 $this->mAttribs['rc_timestamp'],

Status & tagging log