Merge pull request #93 from schrej/patch-1

Remove unnecessary brackets in RunTasks
This commit is contained in:
Dane Everitt 2016-09-26 15:02:15 -04:00 committed by GitHub
commit c95a058638
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class RunTasks extends Command
*/
public function handle()
{
$tasks = Models\Task::where('queued', 0)->where('active', 1)->where('next_run', '<=', (Carbon::now())->toAtomString())->get();
$tasks = Models\Task::where('queued', 0)->where('active', 1)->where('next_run', '<=', Carbon::now()->toAtomString())->get();
$this->info(sprintf('Preparing to queue %d tasks.', count($tasks)));
$bar = $this->output->createProgressBar(count($tasks));