From ac4e9adb633fd94050708b075a04590d7078999c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 17 May 2008 22:32:39 +0000 Subject: [PATCH] Revert self - bogus location --- includes/RecentChange.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/RecentChange.php b/includes/RecentChange.php index e7ef606b21..c1f27227d8 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -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'], -- 2.20.1