From 657f3e35590c06c04e68602fe98ec4c290812a30 Mon Sep 17 00:00:00 2001 From: Matteo Date: Mon, 11 Nov 2024 15:22:37 +0100 Subject: [PATCH] fix: correzione upload allegati da app --- src/API/App/v1/AllegatiInterventi.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/API/App/v1/AllegatiInterventi.php b/src/API/App/v1/AllegatiInterventi.php index 2f2eb8b00..056f293f9 100644 --- a/src/API/App/v1/AllegatiInterventi.php +++ b/src/API/App/v1/AllegatiInterventi.php @@ -105,9 +105,6 @@ class AllegatiInterventi extends AppResource 'id_record' => $data['id_intervento'], ], $data['nome'], $data['categoria']); - // Chiusura e rimozione del file temporaneo - delete($file); - return [ 'id' => $upload->id, 'tipo' => $upload->extension,