diff options
author | Etienne Baroux <barouxe@phelma.grenoble-inp.fr> | 2014-06-05 15:11:15 +0200 |
---|---|---|
committer | Etienne Baroux <barouxe@phelma.grenoble-inp.fr> | 2014-06-05 15:11:15 +0200 |
commit | c6999481e7ebd4c24127161ad2b51d8c3e15dc05 (patch) | |
tree | 6054850dee26072c6bf68b66cbf66d299c5b9971 | |
parent | f119e060b72b82f5b4242129a647d828370b6c49 (diff) | |
download | forums-c6999481e7ebd4c24127161ad2b51d8c3e15dc05.tar forums-c6999481e7ebd4c24127161ad2b51d8c3e15dc05.tar.gz forums-c6999481e7ebd4c24127161ad2b51d8c3e15dc05.tar.bz2 forums-c6999481e7ebd4c24127161ad2b51d8c3e15dc05.tar.xz forums-c6999481e7ebd4c24127161ad2b51d8c3e15dc05.zip |
[ticket/12602] Add types, change description of cron:list.
PHPBB3-12602
-rw-r--r-- | phpBB/language/en/acp/common.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/console/command/cron/cron_list.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php index a192ec396d..239b576738 100644 --- a/phpBB/language/en/acp/common.php +++ b/phpBB/language/en/acp/common.php @@ -223,7 +223,7 @@ $lang = array_merge($lang, array( 'BACK' => 'Back', - 'CLI_DESCRIPTION_CRON_LIST' => 'Print the cron list.', + 'CLI_DESCRIPTION_CRON_LIST' => 'Prints a list of ready and unready cron jobs.', 'CLI_DESCRIPTION_CRON_RUN' => 'Runs all ready cron tasks.', 'CLI_DESCRIPTION_CRON_RUN_ARGUMENT_1' => 'Name of the task to be run', diff --git a/phpBB/phpbb/console/command/cron/cron_list.php b/phpBB/phpbb/console/command/cron/cron_list.php index 9d9a3bdef7..1c32e6e306 100644 --- a/phpBB/phpbb/console/command/cron/cron_list.php +++ b/phpBB/phpbb/console/command/cron/cron_list.php @@ -80,7 +80,7 @@ class cron_list extends \phpbb\console\command\command } } - public function print_tasks_names($tasks, $output) + protected function print_tasks_names(array $tasks, OutputInterface $output) { foreach ($tasks as $task) { |