summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/app.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-26 18:40:56 +0200
committerJoas Schilling <coding@schilljs.com>2017-03-26 19:08:51 +0200
commitec330c7ac4d7d3a145dc06414e5707243f1057d7 (patch)
tree9f55d6fce62d23ca7232c46c4f9ca2bf944addb1 /lib/private/legacy/app.php
parentf154b1d32ce0d469e5c4f96195e169f1aa4d5406 (diff)
downloadnextcloud-server-ec330c7ac4d7d3a145dc06414e5707243f1057d7.tar.gz
nextcloud-server-ec330c7ac4d7d3a145dc06414e5707243f1057d7.zip
Register the app management in the normal way
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/legacy/app.php')
-rw-r--r--lib/private/legacy/app.php6
1 files changed, 0 insertions, 6 deletions
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);