Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2017-01-28 05:57:31 +00:00
committed by StyleCI Bot
parent a79c2176d3
commit 01700a00bd
4 changed files with 49 additions and 40 deletions

View File

@@ -30,7 +30,6 @@ class Kernel extends ConsoleKernel
protected function schedule(Schedule $schedule)
{
if (env('DB_INSTALL') == 1) {
if ($this->getCurrentQueue() != 'sync') {
$schedule->command('queue:listen '.$this->getCurrentQueue().' --sleep 60')->everyMinute();
}