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:
8435d49
)
Allow setting email even when blocked from sending emails
author
DannyS712
<DannyS712.enwiki@gmail.com>
Mon, 8 Jul 2019 15:28:37 +0000
(15:28 +0000)
committer
DannyS712
<DannyS712.enwiki@gmail.com>
Mon, 8 Jul 2019 15:29:13 +0000
(15:29 +0000)
Bug: T225872
Change-Id: If23a55d2e21bb46ecdae96a93ab62e019ec3f957
includes/specials/SpecialChangeEmail.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialChangeEmail.php
b/includes/specials/SpecialChangeEmail.php
index
956ff77
..
c95aa1b
100644
(file)
--- a/
includes/specials/SpecialChangeEmail.php
+++ b/
includes/specials/SpecialChangeEmail.php
@@
-78,10
+78,6
@@
class SpecialChangeEmail extends FormSpecialPage {
throw new PermissionsError( 'viewmyprivateinfo' );
}
- if ( $user->isBlockedFromEmailuser() ) {
- throw new UserBlockedError( $user->getBlock() );
- }
-
parent::checkExecutePermissions( $user );
}