aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2015-11-06 18:36:17 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2015-11-06 18:36:17 +0100
commit022c271caf6bdec2ec56abc5c45837d38b941e8e (patch)
tree8b2ffc3d141e94f909b5d1508b6225cd7506a00e /phpBB
parentfbb9f8859a7c1e5431823000b13f3c6295a8682b (diff)
parent50d102c9751bd156be2a9207862dda3e6680de8e (diff)
downloadforums-022c271caf6bdec2ec56abc5c45837d38b941e8e.tar
forums-022c271caf6bdec2ec56abc5c45837d38b941e8e.tar.gz
forums-022c271caf6bdec2ec56abc5c45837d38b941e8e.tar.bz2
forums-022c271caf6bdec2ec56abc5c45837d38b941e8e.tar.xz
forums-022c271caf6bdec2ec56abc5c45837d38b941e8e.zip
Merge pull request #4020 from VSEphpbb/ticket/14274
[ticket/14274] Include user functions during installer
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/install/module/install_data/task/add_bots.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/phpbb/install/module/install_data/task/add_bots.php b/phpBB/phpbb/install/module/install_data/task/add_bots.php
index b45d3808db..2ee641ff63 100644
--- a/phpBB/phpbb/install/module/install_data/task/add_bots.php
+++ b/phpBB/phpbb/install/module/install_data/task/add_bots.php
@@ -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)