mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge pull request #4020 from VSEphpbb/ticket/14274
[ticket/14274] Include user functions during installer
This commit is contained in:
commit
022c271caf
1 changed files with 5 additions and 0 deletions
|
@ -197,6 +197,11 @@ class add_bots extends \phpbb\install\task_base
|
||||||
'user_allow_pm' => 0,
|
'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);
|
$user_id = user_add($user_row);
|
||||||
|
|
||||||
if (!$user_id)
|
if (!$user_id)
|
||||||
|
|
Loading…
Add table
Reference in a new issue