Skip to content
Snippets Groups Projects
Commit 226c2056 authored by Christopher Schäpers's avatar Christopher Schäpers
Browse files

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

parent 85e41d95
Branches
No related tags found
No related merge requests found
......@@ -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));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment