Merge pull request #1396 from owncloud/apps_sorting

Sort internal apps above 3rdparty apps
This commit is contained in:
Jan-Christoph Borchardt 2013-01-31 10:19:04 -08:00
commit 5bf7791b42
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ function app_sort( $a, $b ) {
}
if ($a['internal'] != $b['internal']) {
return $b['internal'] - $a['internal'];
}
return strcmp($a['name'], $b['name']);
}