summaryrefslogtreecommitdiffstats
path: root/settings/apps.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/apps.php')
-rw-r--r--settings/apps.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/settings/apps.php b/settings/apps.php
index 20b12887554..96b6d21b502 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -28,24 +28,7 @@ OC_App::loadApps();
OC_Util::addStyle( "settings", "settings" );
OC_App::setActiveNavigationEntry( "core_apps" );
-function app_sort( $a, $b ) {
-
- if ($a['active'] !== $b['active']) {
-
- return $b['active'] - $a['active'];
-
- }
-
- if ($a['internal'] !== $b['internal']) {
- return $b['internal'] - $a['internal'];
- }
-
- return strcmp($a['name'], $b['name']);
-
-}
-
$combinedApps = OC_App::listAllApps();
-usort( $combinedApps, 'app_sort' );
$tmpl = new OC_Template( "settings", "apps", "user" );