mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +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)
|
function check_email($email)
|
||||||
{
|
{
|
||||||
|
if ($user_func = e107::getOverride()->check('check_email'))
|
||||||
|
{
|
||||||
|
return call_user_func($user_func);
|
||||||
|
}
|
||||||
|
|
||||||
if(empty($email))
|
if(empty($email))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user