Merge pull request #8039 from owncloud/chunking-removeexpireinhaskey
Do not expire chunks while checking for their existence
This commit is contained in:
commit
0597c5226a
1 changed files with 0 additions and 5 deletions
5
lib/private/cache/file.php
vendored
5
lib/private/cache/file.php
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue