Skip to content

Commit

Permalink
clean the full .tmp folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Ribeiro committed Dec 6, 2024
1 parent 60f204d commit a0c6db3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion endpoints/db/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);

Expand Down
2 changes: 1 addition & 1 deletion endpoints/db/restore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
);

Expand Down

0 comments on commit a0c6db3

Please sign in to comment.