diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-05-28 11:36:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-28 11:36:19 +0200 |
commit | 188b96d52162c8737691455851c887cfc73e863d (patch) | |
tree | 0f33b18956998b22835f6749e0fba5848b2e2a5e /lib | |
parent | 4ea7dbbc1cae7a2d5f217d6614ed538389303386 (diff) | |
parent | 07e5b30b90f176acbf78396f6b9da4c2c941d2c8 (diff) | |
download | nextcloud-server-188b96d52162c8737691455851c887cfc73e863d.tar.gz nextcloud-server-188b96d52162c8737691455851c887cfc73e863d.zip |
Merge pull request #9584 from nextcloud/file-cache-gc-isdir
remove unneeded is_dir from file cache gc
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Cache/File.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Cache/File.php b/lib/private/Cache/File.php index 7d2d468ec2f..fdf7606de0f 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; |