]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use usort() instead of uasort() to not maintain keys
authorkondou <kondou@ts.unde.re>
Fri, 6 Sep 2013 04:44:49 +0000 (06:44 +0200)
committerkondou <kondou@ts.unde.re>
Fri, 6 Sep 2013 04:45:16 +0000 (06:45 +0200)
apps/files/ajax/rawlist.php

index e51932dff0fe2e9030ff00d0150a291f99a6dc0c..0541353e98a74a984633ab0cfd9c22c4cdfd6321 100644 (file)
@@ -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));