summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-06 06:44:49 +0200
committerkondou <kondou@ts.unde.re>2013-09-06 06:45:16 +0200
commit226c205631480a2df14fa9a6e594da01054b311e (patch)
tree106d71ca17f785b296d96fb5092414a811a57d5f /apps
parent85e41d95005a60429681ad99f7ecb18698d0a1c3 (diff)
downloadnextcloud-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.php2
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));