diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-04-04 17:18:54 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-04-04 17:18:54 +0200 |
commit | 0597c5226a24267d6d945dd5f42f3dc9d60c4c0e (patch) | |
tree | 000b33876372cd5db9c3b4128ef6d5bc77574fd5 /lib | |
parent | 09ac61f53b350a9045ee84bc291d9de5904a19b8 (diff) | |
parent | ab56f694160f58f075069560953cba86cdfe5aec (diff) | |
download | nextcloud-server-0597c5226a24267d6d945dd5f42f3dc9d60c4c0e.tar.gz nextcloud-server-0597c5226a24267d6d945dd5f42f3dc9d60c4c0e.zip |
Merge pull request #8039 from owncloud/chunking-removeexpireinhaskey
Do not expire chunks while checking for their existence
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/cache/file.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/private/cache/file.php b/lib/private/cache/file.php index be6805a9a57..2fd77c437fe 100644 --- a/lib/private/cache/file.php +++ b/lib/private/cache/file.php @@ -84,11 +84,6 @@ class File { public function hasKey($key) { $storage = $this->getStorage(); if ($storage && $storage->is_file($key)) { - $mtime = $storage->filemtime($key); - if ($mtime < time()) { - $storage->unlink($key); - return false; - } return true; } return false; |