diff options
author | kondou <kondou@ts.unde.re> | 2013-09-06 06:44:49 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-09-06 06:45:16 +0200 |
commit | 226c205631480a2df14fa9a6e594da01054b311e (patch) | |
tree | 106d71ca17f785b296d96fb5092414a811a57d5f /apps | |
parent | 85e41d95005a60429681ad99f7ecb18698d0a1c3 (diff) | |
download | nextcloud-server-226c205631480a2df14fa9a6e594da01054b311e.tar.gz nextcloud-server-226c205631480a2df14fa9a6e594da01054b311e.zip |
Use usort() instead of uasort() to not maintain keys
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/ajax/rawlist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php index e51932dff0f..0541353e98a 100644 --- a/apps/files/ajax/rawlist.php +++ b/apps/files/ajax/rawlist.php @@ -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)); |