aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-30 22:52:01 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-30 22:52:01 +0200
commita6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d (patch)
treef3ade92acbc5127c27b46d450c1d1d29b905c921 /phpBB/phpbb/console
parentbbb83c09c0f53fda26ff0d06083bf900f4babdae (diff)
parentcc41e2eef7b22f0a2c5960589620867fe7b987d5 (diff)
downloadforums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.tar
forums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.tar.gz
forums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.tar.bz2
forums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.tar.xz
forums-a6a2d1bc2d85157bdd1e79fd5c853b30eeccd02d.zip
Merge pull request #2523 from bantu/ticket/12597
[ticket/12597] Command for executing all available cron tasks * bantu/ticket/12597: [ticket/12597] Update USE_SYSTEM_CRON_EXPLAIN to be a bit more verbose. [ticket/12597] Improve language for cron:run command. [ticket/12597] Do not output anything besides the gif image.
Diffstat (limited to 'phpBB/phpbb/console')
-rw-r--r--phpBB/phpbb/console/command/cron/run.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/console/command/cron/run.php b/phpBB/phpbb/console/command/cron/run.php
index f76fb30e3b..1029a2e085 100644
--- a/phpBB/phpbb/console/command/cron/run.php
+++ b/phpBB/phpbb/console/command/cron/run.php
@@ -3,7 +3,7 @@
*
* This file is part of the phpBB Forum Software package.
*
-* @copyright (c) phpBB Limited
+* @copyright (c) phpBB Limited
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
@@ -67,7 +67,7 @@ class run extends \phpbb\console\command\command
* and the exit status is set to 1.
* If the verbose option is specified, each start of a task is printed.
* Otherwise there is no output.
- * If an argument is given to the command, only the task whose name matches the
+ * If an argument is given to the command, only the task whose name matches the
* argument will be started. If verbose option is specified,
* an info message containing the name of the task is printed.
* If no task matches the argument given, an error message is printed
@@ -169,7 +169,7 @@ class run extends \phpbb\console\command\command
}
else
{
- $output->writeln('<error>' . $this->user->lang('CRON_NO_SUCH_TASK') . '</error>');
+ $output->writeln('<error>' . $this->user->lang('CRON_NO_SUCH_TASK', $task_name) . '</error>');
return 2;
}
}