From 2ec7fcc3ab6fafd3e528b94ad775699f997e6e3f Mon Sep 17 00:00:00 2001 From: Jakob Date: Mon, 26 Sep 2016 13:59:18 +0100 Subject: [PATCH] Remove unnecessary brackets in RunTasks fixes #92 --- app/Console/Commands/RunTasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/RunTasks.php b/app/Console/Commands/RunTasks.php index 351dabd6..92daef20 100644 --- a/app/Console/Commands/RunTasks.php +++ b/app/Console/Commands/RunTasks.php @@ -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));