aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-02-24 13:49:20 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-12-03 14:23:34 +0100
commiteb1ade67681ee7c88845978eade07ad3ac96357a (patch)
tree5874e3f7c5dff1f1bedaf08ba2b82009f5b219f9 /phpBB/phpbb/install
parent89fef2ce13a183c7b963032274f455a09a05f325 (diff)
downloadforums-eb1ade67681ee7c88845978eade07ad3ac96357a.tar
forums-eb1ade67681ee7c88845978eade07ad3ac96357a.tar.gz
forums-eb1ade67681ee7c88845978eade07ad3ac96357a.tar.bz2
forums-eb1ade67681ee7c88845978eade07ad3ac96357a.tar.xz
forums-eb1ade67681ee7c88845978eade07ad3ac96357a.zip
[ticket/14492] Set install extensions to synthetic and fix step count
PHPBB3-14492
Diffstat (limited to 'phpBB/phpbb/install')
-rw-r--r--phpBB/phpbb/install/module/install_finish/task/install_extensions.php7
-rw-r--r--phpBB/phpbb/install/module/update_database/task/update_extensions.php2
2 files changed, 2 insertions, 7 deletions
diff --git a/phpBB/phpbb/install/module/install_finish/task/install_extensions.php b/phpBB/phpbb/install/module/install_finish/task/install_extensions.php
index d92f420202..bc13795188 100644
--- a/phpBB/phpbb/install/module/install_finish/task/install_extensions.php
+++ b/phpBB/phpbb/install/module/install_finish/task/install_extensions.php
@@ -97,11 +97,6 @@ class install_extensions extends \phpbb\install\task_base
*/
public function run()
{
- if (defined('PHPBB_ENVIRONMENT') && PHPBB_ENVIRONMENT === 'test')
- {
- return;
- }
-
$this->user->session_begin();
$this->user->setup(array('common', 'acp/common', 'cli'));
@@ -134,7 +129,7 @@ class install_extensions extends \phpbb\install\task_base
*/
static public function get_step_count()
{
- return 0;
+ return 1;
}
/**
diff --git a/phpBB/phpbb/install/module/update_database/task/update_extensions.php b/phpBB/phpbb/install/module/update_database/task/update_extensions.php
index a6648084a6..a73fa9b854 100644
--- a/phpBB/phpbb/install/module/update_database/task/update_extensions.php
+++ b/phpBB/phpbb/install/module/update_database/task/update_extensions.php
@@ -157,7 +157,7 @@ class enable_extensions extends task_base
*/
static public function get_step_count()
{
- return 0;
+ return 1;
}
/**