mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
Closes #4900 - Allow plugins to override the check_email() function.
This commit is contained in:
parent
810599df5c
commit
051161a61f
@ -1190,6 +1190,10 @@ function js_location($qry)
|
||||
|
||||
function check_email($email)
|
||||
{
|
||||
if ($user_func = e107::getOverride()->check('check_email'))
|
||||
{
|
||||
return call_user_func($user_func);
|
||||
}
|
||||
|
||||
if(empty($email))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user