mirror of
https://github.com/nextcloud/server.git
synced 2026-05-22 10:06:37 -04:00
perf: remove unneeded sort in getFolderContentsById
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
92d196d0bc
commit
06c625f20c
1 changed files with 1 additions and 2 deletions
|
|
@ -218,8 +218,7 @@ class Cache implements ICache {
|
|||
$query = $this->getQueryBuilder();
|
||||
$query->selectFileCache()
|
||||
->whereParent($fileId)
|
||||
->whereStorageId($this->getNumericStorageId())
|
||||
->orderBy('name', 'ASC');
|
||||
->whereStorageId($this->getNumericStorageId());
|
||||
|
||||
if ($mimeTypeFilter !== null) {
|
||||
$mimetype = $this->mimetypeLoader->getId($mimeTypeFilter);
|
||||
|
|
|
|||
Loading…
Reference in a new issue