1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Closes #4900 - Allow plugins to override the check_email() function.

This commit is contained in:
Cameron 2022-10-29 08:34:50 -07:00
parent 810599df5c
commit 051161a61f

View File

@ -1190,6 +1190,10 @@ function js_location($qry)
function check_email($email) function check_email($email)
{ {
if ($user_func = e107::getOverride()->check('check_email'))
{
return call_user_func($user_func);
}
if(empty($email)) if(empty($email))
{ {