mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
fix(cache): filter out invalid entries in OC\Files\Cache\Wrapper\CacheWrapper::getFolderContentsById
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> [skip ci]
This commit is contained in:
parent
f2907f133c
commit
560df4a73c
1 changed files with 2 additions and 2 deletions
|
|
@ -97,10 +97,10 @@ class CacheWrapper extends Cache {
|
|||
}
|
||||
|
||||
/**
|
||||
* get the metadata of all files stored in $folder
|
||||
* Get the metadata of all files stored in given folder
|
||||
*
|
||||
* @param int $fileId the file id of the folder
|
||||
* @return array
|
||||
* @return ICacheEntry[]
|
||||
*/
|
||||
public function getFolderContentsById(int $fileId, ?string $mimeTypeFilter = null) {
|
||||
$results = $this->getCache()->getFolderContentsById($fileId, $mimeTypeFilter);
|
||||
|
|
|
|||
Loading…
Reference in a new issue