Index: trunk/phase3/includes/RecentChange.php |
— | — | @@ -223,9 +223,9 @@ |
224 | 224 | |
225 | 225 | # E-mail notifications |
226 | 226 | global $wgUseEnotif, $wgUser; |
227 | | - if( $wgUseEnotif && $this->mAttribs['rc_user'] != $wgUser->getID() ) { |
| 227 | + if( $wgUseEnotif ) { |
228 | 228 | # FIXME: this would be better as an extension hook |
229 | | - $enotif = new EmailNotification; |
| 229 | + $enotif = new EmailNotification(); |
230 | 230 | $title = Title::makeTitle( $this->mAttribs['rc_namespace'], $this->mAttribs['rc_title'] ); |
231 | 231 | $enotif->notifyOnPageChange( $wgUser, $title, |
232 | 232 | $this->mAttribs['rc_timestamp'], |