aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/module/install_data
diff options
context:
space:
mode:
authorCHItA <mate.bartus@gmail.com>2015-06-04 00:43:08 +0200
committerMate Bartus <mate.bartus@gmail.com>2015-07-08 01:28:01 +0200
commit0dc6029bfed10fac1a09a4fd8de7d1b31407693a (patch)
tree5a127646e3f48b4328cb9091c207c965b0c01034 /phpBB/install/module/install_data
parent63c3500dacc8d272e85273a67f56faa51a9d5fba (diff)
downloadforums-0dc6029bfed10fac1a09a4fd8de7d1b31407693a.tar
forums-0dc6029bfed10fac1a09a4fd8de7d1b31407693a.tar.gz
forums-0dc6029bfed10fac1a09a4fd8de7d1b31407693a.tar.bz2
forums-0dc6029bfed10fac1a09a4fd8de7d1b31407693a.tar.xz
forums-0dc6029bfed10fac1a09a4fd8de7d1b31407693a.zip
[ticket/13740] Tasks can appear as multiple steps for the progress bar
PHPBB3-13740
Diffstat (limited to 'phpBB/install/module/install_data')
-rw-r--r--phpBB/install/module/install_data/task/add_bots.php8
-rw-r--r--phpBB/install/module/install_data/task/add_languages.php8
-rw-r--r--phpBB/install/module/install_data/task/add_modules.php8
3 files changed, 24 insertions, 0 deletions
diff --git a/phpBB/install/module/install_data/task/add_bots.php b/phpBB/install/module/install_data/task/add_bots.php
index cba228bdba..c31700e97f 100644
--- a/phpBB/install/module/install_data/task/add_bots.php
+++ b/phpBB/install/module/install_data/task/add_bots.php
@@ -225,6 +225,14 @@ class add_bots extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
+ static public function get_step_count()
+ {
+ return 1;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
public function get_task_lang_name()
{
return 'TASK_ADD_BOTS';
diff --git a/phpBB/install/module/install_data/task/add_languages.php b/phpBB/install/module/install_data/task/add_languages.php
index 8418829ca6..7ffdf4f276 100644
--- a/phpBB/install/module/install_data/task/add_languages.php
+++ b/phpBB/install/module/install_data/task/add_languages.php
@@ -106,6 +106,14 @@ class add_languages extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
+ static public function get_step_count()
+ {
+ return 1;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
public function get_task_lang_name()
{
return 'TASK_ADD_LANGUAGES';
diff --git a/phpBB/install/module/install_data/task/add_modules.php b/phpBB/install/module/install_data/task/add_modules.php
index d47c2cd106..6a77f8973b 100644
--- a/phpBB/install/module/install_data/task/add_modules.php
+++ b/phpBB/install/module/install_data/task/add_modules.php
@@ -453,6 +453,14 @@ class add_modules extends \phpbb\install\task_base
/**
* {@inheritdoc}
*/
+ static public function get_step_count()
+ {
+ return 1;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
public function get_task_lang_name()
{
return 'TASK_ADD_MODULES';