diff --git a/phpBB/language/en/acp/common.php b/phpBB/language/en/acp/common.php index 7d82e21799..fa0c21d76e 100644 --- a/phpBB/language/en/acp/common.php +++ b/phpBB/language/en/acp/common.php @@ -230,8 +230,8 @@ $lang = array_merge($lang, array( 'COLOUR_SWATCH' => 'Web-safe colour swatch', 'CONFIG_UPDATED' => 'Configuration updated successfully.', 'CRON_LOCK_ERROR' => 'Could not obtain cron lock.', - 'CRON_NO_RUNNABLE_TASK' => 'No cron task needs to be run right now.', 'CRON_NO_SUCH_TASK' => 'Could not find cron task ā€œ%sā€.', + 'CRON_NO_TASKS' => 'No cron tasks could be found.', 'DEACTIVATE' => 'Deactivate', 'DIRECTORY_DOES_NOT_EXIST' => 'The entered path ā€œ%sā€ does not exist.', diff --git a/phpBB/phpbb/console/command/cron/cron_list.php b/phpBB/phpbb/console/command/cron/cron_list.php index cc51a57f4b..9db6a23947 100644 --- a/phpBB/phpbb/console/command/cron/cron_list.php +++ b/phpBB/phpbb/console/command/cron/cron_list.php @@ -44,7 +44,7 @@ class cron_list extends \phpbb\console\command\command if (empty($tasks)) { - $output->writeln($this->user->lang('CRON_NO_RUNNABLE_TASK')); + $output->writeln($this->user->lang('CRON_NO_TASKS')); return; } diff --git a/tests/console/cron/cron_list_test.php b/tests/console/cron/cron_list_test.php index ea54c17738..46705a585f 100644 --- a/tests/console/cron/cron_list_test.php +++ b/tests/console/cron/cron_list_test.php @@ -39,7 +39,7 @@ class phpbb_console_command_cron_list_test extends phpbb_test_case public function test_no_task() { $this->initiate_test(0, 0); - $this->assertContains('CRON_NO_RUNNABLE_TASK', $this->command_tester->getDisplay()); + $this->assertContains('CRON_NO_TASKS', $this->command_tester->getDisplay()); } public function test_only_ready()