From 29bcfabc703b7707d285208dbb60818008853b87 Mon Sep 17 00:00:00 2001 From: Kenio de Souza Date: Mon, 8 Sep 2025 15:35:19 -0300 Subject: [PATCH] =?UTF-8?q?Adicionado=20a=20tabela=20de=20parti=C3=A7?= =?UTF-8?q?=C3=A3o=20do=20GED?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vendor/action/log/log_save.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vendor/action/log/log_save.php b/vendor/action/log/log_save.php index 6276986..9cd3e0b 100644 --- a/vendor/action/log/log_save.php +++ b/vendor/action/log/log_save.php @@ -81,6 +81,8 @@ try { /** Id do cliente */ $clientId = $ClientResult->client_id > 0 ? $ClientResult->client_id : $Client->getId(); + /** Exclui antigas unidades */ + $StationDisk->Delete($clientId); /** Exclui todas as estações de um determinado cliente */ $Station->Delete($clientId); @@ -112,9 +114,6 @@ try { /** Id da estação */ $stationId = $Station->getId(); - - /** Exclui antigas unidades */ - $StationDisk->Delete($clientId); // Percorre cada disco (C:, D:, etc.) foreach ($jsonLog->disk as $drive => $details) {