|
|
|
|
@ -1186,7 +1186,7 @@ class Cache implements ICache {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private function cacheEntryToArray(ICacheEntry $entry): array {
|
|
|
|
|
return [
|
|
|
|
|
$data = [
|
|
|
|
|
'size' => $entry->getSize(),
|
|
|
|
|
'mtime' => $entry->getMTime(),
|
|
|
|
|
'storage_mtime' => $entry->getStorageMTime(),
|
|
|
|
|
@ -1199,6 +1199,10 @@ class Cache implements ICache {
|
|
|
|
|
'upload_time' => $entry->getUploadTime(),
|
|
|
|
|
'metadata_etag' => $entry->getMetadataEtag(),
|
|
|
|
|
];
|
|
|
|
|
if ($entry instanceof CacheEntry && isset($entry['scan_permissions'])) {
|
|
|
|
|
$data['permissions'] = $entry['scan_permissions'];
|
|
|
|
|
}
|
|
|
|
|
return $data;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getQueryFilterForStorage(): ISearchOperator {
|
|
|
|
|
|