From 226c205631480a2df14fa9a6e594da01054b311e Mon Sep 17 00:00:00 2001 From: kondou Date: Fri, 6 Sep 2013 06:44:49 +0200 Subject: [PATCH] Use usort() instead of uasort() to not maintain keys --- apps/files/ajax/rawlist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));