mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 13:01:34 -04:00
Use update() instead of put().
This commit is contained in:
parent
d84d548618
commit
a2f82da572
1 changed files with 1 additions and 3 deletions
4
lib/files/cache/scanner.php
vendored
4
lib/files/cache/scanner.php
vendored
|
|
@ -121,9 +121,7 @@ class Scanner extends BasicEmitter {
|
|||
}
|
||||
$parentCacheData = $this->cache->get($parent);
|
||||
$parentCacheData['etag'] = $this->storage->getETag($parent);
|
||||
// the boolean to int conversion is necessary to make pg happy
|
||||
$parentCacheData['encrypted'] = $parentCacheData['encrypted'] ? 1 : 0;
|
||||
$this->cache->put($parent, $parentCacheData);
|
||||
$this->cache->update($parentCacheData['fileid'], $parentCacheData);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue