1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 20:44:01 +01:00

[ticket/14274] Include user functions during installer

PHPBB3-14274
This commit is contained in:
Matt Friedman 2015-11-05 16:32:19 -08:00
parent 402f36e42d
commit 50d102c975

View File

@ -197,6 +197,11 @@ class add_bots extends \phpbb\install\task_base
'user_allow_pm' => 0,
);
if (!function_exists('user_add'))
{
include($this->phpbb_root_path . 'includes/functions_user.' . $this->php_ext);
}
$user_id = user_add($user_row);
if (!$user_id)