mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Use usort() instead of uasort() to not maintain keys
This commit is contained in:
parent
85e41d9500
commit
226c205631
1 changed files with 1 additions and 1 deletions
|
|
@ -49,6 +49,6 @@ function cmp($a, $b) {
|
|||
}
|
||||
return ($a['name'] < $b['name']) ? -1 : 1;
|
||||
}
|
||||
uasort($files, 'cmp');
|
||||
usort($files, 'cmp');
|
||||
|
||||
OC_JSON::success(array('data' => $files));
|
||||
|
|
|
|||
Loading…
Reference in a new issue