mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Closes #4900 - Allow plugins to override the check_email() function.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user