Skip to content

Commit

Permalink
Merge pull request #93 from schrej/patch-1
Browse files Browse the repository at this point in the history
Remove unnecessary brackets in RunTasks
  • Loading branch information
DaneEveritt authored Sep 26, 2016
2 parents 231bc79 + 2ec7fcc commit c95a058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/RunTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __construct()
*/
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));
Expand Down

0 comments on commit c95a058

Please sign in to comment.