diff options
author | Mate Bartus <mate.bartus@gmail.com> | 2015-07-09 15:26:48 +0200 |
---|---|---|
committer | Mate Bartus <mate.bartus@gmail.com> | 2015-07-09 15:30:30 +0200 |
commit | 62103cec300ddadb904862ee2a74d68f71eb32ca (patch) | |
tree | 2ad0f1a4b9d9b58f18671b74ad4e3ddf2ba7e294 /phpBB/phpbb/install/helper | |
parent | 794726a464452a6056d8a2ba06c4394767d4c497 (diff) | |
download | forums-62103cec300ddadb904862ee2a74d68f71eb32ca.tar forums-62103cec300ddadb904862ee2a74d68f71eb32ca.tar.gz forums-62103cec300ddadb904862ee2a74d68f71eb32ca.tar.bz2 forums-62103cec300ddadb904862ee2a74d68f71eb32ca.tar.xz forums-62103cec300ddadb904862ee2a74d68f71eb32ca.zip |
[ticket/13740] Use service collection instead of array of task names
PHPBB3-13740
Diffstat (limited to 'phpBB/phpbb/install/helper')
-rw-r--r-- | phpBB/phpbb/install/helper/config.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/phpBB/phpbb/install/helper/config.php b/phpBB/phpbb/install/helper/config.php index cf51432332..38fdf960f7 100644 --- a/phpBB/phpbb/install/helper/config.php +++ b/phpBB/phpbb/install/helper/config.php @@ -87,9 +87,7 @@ class config $this->installer_config = array(); $this->system_data = array(); $this->progress_data = array( - 'last_task_module_index' => 0, 'last_task_module_name' => '', // Stores the service name of the latest finished module - 'last_task_index' => 0, 'last_task_name' => '', // Stores the service name of the latest finished task 'max_task_progress' => 0, 'current_task_progress' => 0, @@ -180,24 +178,20 @@ class config * Saves the latest executed task * * @param string $task_service_name Name of the installer task service - * @param int $task_index Index of the task in the task list array */ - public function set_finished_task($task_service_name, $task_index) + public function set_finished_task($task_service_name) { $this->progress_data['last_task_name'] = $task_service_name; - $this->progress_data['last_task_index'] = $task_index; } /** * Set active module * * @param string $module_service_name Name of the installer module service - * @param int $module_index Index of the module in the module list array */ - public function set_active_module($module_service_name, $module_index) + public function set_active_module($module_service_name) { $this->progress_data['last_task_module_name'] = $module_service_name; - $this->progress_data['last_task_module_index'] = $module_index; } /** |