fix cacheentry return wrong storage id
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
bbe24d29ca
commit
86473306f3
|
@ -163,6 +163,7 @@ class Cache implements ICache {
|
|||
$data['storage_mtime'] = (int)$data['storage_mtime'];
|
||||
$data['encryptedVersion'] = (int)$data['encrypted'];
|
||||
$data['encrypted'] = (bool)$data['encrypted'];
|
||||
$data['storage_id'] = $data['storage'];
|
||||
$data['storage'] = $storageId;
|
||||
$data['mimetype'] = $mimetypeLoader->getMimetypeById($data['mimetype']);
|
||||
$data['mimepart'] = $mimetypeLoader->getMimetypeById($data['mimepart']);
|
||||
|
|
|
@ -62,7 +62,7 @@ class CacheEntry implements ICacheEntry, \ArrayAccess {
|
|||
}
|
||||
|
||||
public function getStorageId() {
|
||||
return $this->data['storage'];
|
||||
return $this->data['storage_id'];
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue