mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-12 20:56:40 +02:00
[ticket/12684] Additional clean up
PHPBB3-12684
This commit is contained in:
@ -184,11 +184,6 @@ class add extends \phpbb\console\command\command
|
|||||||
'user_regdate' => time(),
|
'user_regdate' => time(),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!function_exists('user_add'))
|
|
||||||
{
|
|
||||||
require($this->phpbb_root_path . 'includes/functions_user.' . $this->php_ext);
|
|
||||||
}
|
|
||||||
|
|
||||||
$user_id = (int) user_add($user_row);
|
$user_id = (int) user_add($user_row);
|
||||||
|
|
||||||
if ($input->getOption('send-email') && $this->config['email_enable'])
|
if ($input->getOption('send-email') && $this->config['email_enable'])
|
||||||
|
Reference in New Issue
Block a user