mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 18:11:41 -04:00
fix(files): Don't attempt to format a partial cache entry
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
b84ee66baa
commit
d4e01fb0a1
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class CacheWrapper extends Cache {
|
|||
*/
|
||||
public function get($file) {
|
||||
$result = $this->getCache()->get($file);
|
||||
if ($result) {
|
||||
if ($result instanceof ICacheEntry) {
|
||||
$result = $this->formatCacheEntry($result);
|
||||
}
|
||||
return $result;
|
||||
|
|
|
|||
Loading…
Reference in a new issue