Skip to content

Commit 2ec7fcc

Browse files
authored
Remove unnecessary brackets in RunTasks
fixes pterodactyl#92
1 parent 231bc79 commit 2ec7fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Console/Commands/RunTasks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function __construct()
6767
*/
6868
public function handle()
6969
{
70-
$tasks = Models\Task::where('queued', 0)->where('active', 1)->where('next_run', '<=', (Carbon::now())->toAtomString())->get();
70+
$tasks = Models\Task::where('queued', 0)->where('active', 1)->where('next_run', '<=', Carbon::now()->toAtomString())->get();
7171

7272
$this->info(sprintf('Preparing to queue %d tasks.', count($tasks)));
7373
$bar = $this->output->createProgressBar(count($tasks));

0 commit comments

Comments
 (0)