From d57cee575bfcbbc62aae7ebcb1e72d71f9c018e7 Mon Sep 17 00:00:00 2001 From: Axel <1597611+axeloz@users.noreply.github.com> Date: Tue, 28 Dec 2021 09:13:01 +0100 Subject: [PATCH] Removing deletion of missing customers --- app/Console/Commands/SyncCustomers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/SyncCustomers.php b/app/Console/Commands/SyncCustomers.php index d594be9..5da9e54 100644 --- a/app/Console/Commands/SyncCustomers.php +++ b/app/Console/Commands/SyncCustomers.php @@ -146,7 +146,7 @@ class SyncCustomers extends Command if (false === array_search($t->host, $hosts)) { // Must delete task //$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();