Revert self - bogus location
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 17 May 2008 22:32:39 +0000 (22:32 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 17 May 2008 22:32:39 +0000 (22:32 +0000)
includes/RecentChange.php

index e7ef606..c1f2722 100644 (file)
@@ -223,9 +223,9 @@ class RecentChange
 
                # E-mail notifications
                global $wgUseEnotif, $wgUser;
-               if( $wgUseEnotif && $this->mAttribs['rc_user'] != $wgUser->getID() ) {
+               if( $wgUseEnotif ) {
                        # FIXME: this would be better as an extension hook
-                       $enotif = new EmailNotification;
+                       $enotif = new EmailNotification();
                        $title = Title::makeTitle( $this->mAttribs['rc_namespace'], $this->mAttribs['rc_title'] );
                        $enotif->notifyOnPageChange( $wgUser, $title,
                                $this->mAttribs['rc_timestamp'],