mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
further pre-filter search result before setting up share source cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
312b719acf
commit
b731c95b79
1 changed files with 8 additions and 0 deletions
|
|
@ -197,4 +197,12 @@ class Cache extends CacheJail {
|
|||
]
|
||||
);
|
||||
}
|
||||
|
||||
public function getCacheEntryFromSearchResult(ICacheEntry $rawEntry): ?ICacheEntry {
|
||||
if ($rawEntry->getStorageId() === $this->getNumericStorageId()) {
|
||||
return parent::getCacheEntryFromSearchResult($rawEntry);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue