Skip to content

Commit 5663309

Browse files
Improve error handling in removeDirectory function
1 parent 2fe67a8 commit 5663309

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cleanup.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ function removeDirectory(string $dir): bool
3434
foreach ($files as $file) {
3535
$path = realpath($dir.DIRECTORY_SEPARATOR.$file);
3636

37-
// Als realpath faalt (bv. bestand is al weg), sla over
3837
if ($path === false) {
3938
continue;
4039
}

0 commit comments

Comments
 (0)