Don't send email notifs to blocked users if $wgBlockDisablesLogin is true
authorGlaisher <glaisher.wiki@gmail.com>
Tue, 16 Jun 2015 09:51:16 +0000 (14:51 +0500)
committerGlaisher <glaisher.wiki@gmail.com>
Tue, 16 Jun 2015 09:52:49 +0000 (09:52 +0000)
commit32359cca9a54527a47a99a31604e91457c006d4f
tree31da95f7d87953eca6470701ec841c63e137661c
parent82ad18fbb49d79acb13dc13990da07dfe9f7f194
Don't send email notifs to blocked users if $wgBlockDisablesLogin is true

Previously, private data could be leaked on private wikis where
this configuration is common. To prevent this, do not send email
notifications on page changes for blocked watchers and blocked
talk page owners if $wgBlockDisablesLogin is true.

Bug: T54453
Change-Id: I17408e1038ae10ee01eab747591ef2d9c86b106e
includes/mail/EmailNotification.php