diff --git a/lib/private/Cache/File.php b/lib/private/Cache/File.php index 7d2d468ec2fc8a1d9e9890c0bb534ec7b8dfe314..fdf7606de0f2ff8421352cc5225a54d923e972b0 100644 --- a/lib/private/Cache/File.php +++ b/lib/private/Cache/File.php @@ -174,7 +174,7 @@ class File implements ICache { */ public function gc() { $storage = $this->getStorage(); - if ($storage and $storage->is_dir('/')) { + if ($storage) { // extra hour safety, in case of stray part chunks that take longer to write, // because touch() is only called after the chunk was finished $now = time() - 3600;