aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2015-11-05 16:32:19 -0800
committerMatt Friedman <maf675@gmail.com>2015-11-05 16:32:19 -0800
commit50d102c9751bd156be2a9207862dda3e6680de8e (patch)
tree0d4060b52939fab5fa5da1912612b61ce54bcd4b
parent402f36e42daf2ab09934ccf266deeb6d8a7d5b23 (diff)
downloadforums-50d102c9751bd156be2a9207862dda3e6680de8e.tar
forums-50d102c9751bd156be2a9207862dda3e6680de8e.tar.gz
forums-50d102c9751bd156be2a9207862dda3e6680de8e.tar.bz2
forums-50d102c9751bd156be2a9207862dda3e6680de8e.tar.xz
forums-50d102c9751bd156be2a9207862dda3e6680de8e.zip
[ticket/14274] Include user functions during installer
PHPBB3-14274
-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)