From a0c6db34c989ed68163993db3cb7066bebc2eccf Mon Sep 17 00:00:00 2001 From: Miguel Ribeiro Date: Fri, 6 Dec 2024 14:20:10 +0100 Subject: [PATCH] clean the full .tmp folder --- endpoints/db/import.php | 2 +- endpoints/db/restore.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoints/db/import.php b/endpoints/db/import.php index 9658fed0f..91201ecc2 100644 --- a/endpoints/db/import.php +++ b/endpoints/db/import.php @@ -12,7 +12,7 @@ function emptyRestoreFolder() { $files = new RecursiveIteratorIterator( - new RecursiveDirectoryIterator('../../.tmp/restore', RecursiveDirectoryIterator::SKIP_DOTS), + new RecursiveDirectoryIterator('../../.tmp', RecursiveDirectoryIterator::SKIP_DOTS), RecursiveIteratorIterator::CHILD_FIRST ); diff --git a/endpoints/db/restore.php b/endpoints/db/restore.php index 25032142c..1fd8b41dc 100644 --- a/endpoints/db/restore.php +++ b/endpoints/db/restore.php @@ -17,7 +17,7 @@ function emptyRestoreFolder() { $files = new RecursiveIteratorIterator( - new RecursiveDirectoryIterator('../../.tmp/restore', RecursiveDirectoryIterator::SKIP_DOTS), + new RecursiveDirectoryIterator('../../.tmp', RecursiveDirectoryIterator::SKIP_DOTS), RecursiveIteratorIterator::CHILD_FIRST );