diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-01-31 17:49:58 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-01-31 17:49:58 +0100 |
commit | a224d80f4d3266fa9b046aa13081285c4efd61b8 (patch) | |
tree | 8d86d521d5ee3034714c1656b40cfac4559bbab3 /settings/apps.php | |
parent | b471177439ec7550fecae61d6218ac456a6e208c (diff) | |
download | nextcloud-server-a224d80f4d3266fa9b046aa13081285c4efd61b8.tar.gz nextcloud-server-a224d80f4d3266fa9b046aa13081285c4efd61b8.zip |
Sort internal apps above 3rdparty apps
Diffstat (limited to 'settings/apps.php')
-rw-r--r-- | settings/apps.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/apps.php b/settings/apps.php index 4f8eba159c2..b9ed2cac93a 100644 --- a/settings/apps.php +++ b/settings/apps.php @@ -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']); } |