mirror of
https://github.com/getgrav/grav.git
synced 2025-10-26 07:56:07 +01:00
stop cache clearing snapshots
Signed-off-by: Andy Miller <rhuk@mac.com>
This commit is contained in:
@@ -573,6 +573,9 @@ class Cache extends Getters
|
||||
$anything = true;
|
||||
}
|
||||
} elseif (is_dir($file)) {
|
||||
if (basename($file) === 'grav-snapshots') {
|
||||
continue;
|
||||
}
|
||||
if (Folder::delete($file, false)) {
|
||||
$anything = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user