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