From: umherirrender Date: Fri, 27 Jun 2014 14:50:27 +0000 (+0200) Subject: Do not mention deprecated User::isValidEmailAddr() in hooks.txt X-Git-Tag: 1.31.0-rc.0~15197 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=82efaa9e61efe225022b599dde573fb8b7bdb639;p=lhc%2Fweb%2Fwiklou.git Do not mention deprecated User::isValidEmailAddr() in hooks.txt Replaced by Sanitizer::validateEmail() Change-Id: I7b4ef438dd31a2dbc641bb06bea8e256e0f5dd1f --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 8d7e654ac2..82b418825c 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -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