diff --git a/lib/classes/ResponsiveHelper.php b/lib/classes/ResponsiveHelper.php index 02edf6717be7f1f97fe8c983942ec9128eb5b80c..e7977c88029d7a126e4e4b7bf1b8e30a002b051d 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; } }