aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/classes/ResponsiveHelper.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/classes/ResponsiveHelper.php b/lib/classes/ResponsiveHelper.php
index f02ee80..afa5005 100644
--- a/lib/classes/ResponsiveHelper.php
+++ b/lib/classes/ResponsiveHelper.php
@@ -281,20 +281,6 @@ class ResponsiveHelper
];
}
- // Move admin page to the end
- if (count($result) > 0) {
- $first_path = array_keys($result)[0];
- if (str_ends_with($first_path, '/admin')) {
- $admin_navigation = array_slice(array_values($result), 0, 1)[0];
- $admin_navigation['title'] = _('Verwaltung');
- $admin_navigation['icon'] = Icon::create('add', Icon::ROLE_INFO_ALT)->asImagePath();
- $result = array_merge(
- array_slice($result, 1),
- [$path_prefix . '/admin' => $admin_navigation]
- );
- }
- }
-
return $result;
}
}