Do not mention deprecated User::isValidEmailAddr() in hooks.txt
Replaced by Sanitizer::validateEmail() Change-Id: I7b4ef438dd31a2dbc641bb06bea8e256e0f5dd1f
This commit is contained in:
parent
98fd36ef22
commit
82efaa9e61
1 changed files with 1 additions and 1 deletions
|
|
@ -1496,7 +1496,7 @@ $result: Change this value to override the result of wfIsTrustedProxy()
|
|||
$url: URL used to upload from
|
||||
&$allowed: Boolean indicating if uploading is allowed for given URL
|
||||
|
||||
'isValidEmailAddr': Override the result of User::isValidEmailAddr(), for
|
||||
'isValidEmailAddr': Override the result of Sanitizer::validateEmail(), for
|
||||
instance to return false if the domain name doesn't match your organization.
|
||||
$addr: The e-mail address entered by the user
|
||||
&$result: Set this and return false to override the internal checks
|
||||
|
|
|
|||
Loading…
Reference in a new issue