Removing deletion of missing customers
This commit is contained in:
parent
a71505def5
commit
d57cee575b
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class SyncCustomers extends Command
|
||||||
if (false === array_search($t->host, $hosts)) {
|
if (false === array_search($t->host, $hosts)) {
|
||||||
// Must delete task
|
// Must delete task
|
||||||
//$this->line('must delete '.$t->host);
|
//$this->line('must delete '.$t->host);
|
||||||
app('db')->delete('DELETE FROM `tasks` WHERE host = ?', [$t->host]);
|
//app('db')->delete('DELETE FROM `tasks` WHERE host = ?', [$t->host]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$bar->finish();
|
$bar->finish();
|
||||||
|
|
Loading…
Add table
Reference in a new issue