1
0
Fork 0

using emptyDirectory instead of remove for clearing the cache

pull/8032/head
Christian Ego 2019-03-11 10:24:39 +01:00
parent 522ea033a3
commit 7c64300a1b
1 changed files with 2 additions and 1 deletions

View File

@ -189,7 +189,8 @@ class Cache
public function clear() public function clear()
{ {
if ($this->enabled) { if ($this->enabled) {
return $this->filesystem->removeDirectory($this->root); $this->filesystem->emptyDirectory($this->root);
return true;
} }
return false; return false;