mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
perf: remove unneeded sort in getFolderContentsById
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
d0c2d97202
commit
9334bc36b1
1 changed files with 1 additions and 2 deletions
|
|
@ -208,8 +208,7 @@ class Cache implements ICache {
|
|||
$query = $this->getQueryBuilder();
|
||||
$query->selectFileCache()
|
||||
->whereParent($fileId)
|
||||
->whereStorageId($this->getNumericStorageId())
|
||||
->orderBy('name', 'ASC');
|
||||
->whereStorageId($this->getNumericStorageId());
|
||||
|
||||
$metadataQuery = $query->selectMetadata();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue