Use usort() instead of uasort() to not maintain keys

remotes/origin/stable6
kondou 13 years ago
parent 85e41d9500
commit 226c205631
  1. 2
      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));

Loading…
Cancel
Save