Skip to content

Commit 7f7415d

Browse files
author
Dome
committed
[TASK] Fixed issue with delete cache
1 parent 98e6be1 commit 7f7415d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/ClearCacheCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private function deleteCache($dir): bool
7676
}
7777

7878
if (is_dir($dir)) {
79-
array_map([$this, 'deleteDir'], glob($dir . DIRECTORY_SEPARATOR . '{,.[!.]}*', GLOB_BRACE));
79+
array_map([$this, 'deleteCache'], glob($dir . DIRECTORY_SEPARATOR . '{,.[!.]}*', GLOB_BRACE));
8080
return @rmdir($dir);
8181
}
8282

0 commit comments

Comments
 (0)