From ec330c7ac4d7d3a145dc06414e5707243f1057d7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sun, 26 Mar 2017 18:40:56 +0200 Subject: Register the app management in the normal way Signed-off-by: Joas Schilling --- lib/private/legacy/app.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/private/legacy/app.php') diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php index 5343e7ad172..31fa0a9e2da 100644 --- a/lib/private/legacy/app.php +++ b/lib/private/legacy/app.php @@ -531,9 +531,6 @@ class OC_App { // This is private as well. It simply works, so don't ask for more details private static function proceedNavigation($list) { $headerIconCount = 8; - if(OC_User::isAdminUser(OC_User::getUser())) { - $headerIconCount--; - } usort($list, function($a, $b) { if (isset($a['order']) && isset($b['order'])) { return ($a['order'] < $b['order']) ? -1 : 1; @@ -577,9 +574,6 @@ class OC_App { public static function proceedAppNavigation($entries) { $headerIconCount = 8; - if(OC_User::isAdminUser(OC_User::getUser())) { - $headerIconCount--; - } $activeAppIndex = -1; $list = self::proceedNavigation($entries); -- cgit v1.2.3