dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6abf59
)
Don't notify users of their own edits at least
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 17 May 2008 22:23:56 +0000
(22:23 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 17 May 2008 22:23:56 +0000
(22:23 +0000)
includes/RecentChange.php
patch
|
blob
|
history
diff --git
a/includes/RecentChange.php
b/includes/RecentChange.php
index
19f39dd
..
e7ef606
100644
(file)
--- a/
includes/RecentChange.php
+++ b/
includes/RecentChange.php
@@
-222,10
+222,9
@@
class RecentChange
}
# E-mail notifications
- global $wgUseEnotif;
- if( $wgUseEnotif ) {
- # this would be better as an extension hook
- global $wgUser;
+ global $wgUseEnotif, $wgUser;
+ if( $wgUseEnotif && $this->mAttribs['rc_user'] != $wgUser->getID() ) {
+ # FIXME: this would be better as an extension hook
$enotif = new EmailNotification;
$title = Title::makeTitle( $this->mAttribs['rc_namespace'], $this->mAttribs['rc_title'] );
$enotif->notifyOnPageChange( $wgUser, $title,