summaryrefslogtreecommitdiff
path: root/includes/sys_menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/sys_menu.php')
-rw-r--r--includes/sys_menu.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/sys_menu.php b/includes/sys_menu.php
index b4c04a98..4dabc857 100644
--- a/includes/sys_menu.php
+++ b/includes/sys_menu.php
@@ -114,6 +114,10 @@ function make_navigation()
'admin_event_config' => __('Event config'),
];
+ if (config('autoarrive')) {
+ unset($admin_pages['admin_arrive']);
+ }
+
foreach ($admin_pages as $menu_page => $title) {
if (auth()->can($menu_page)) {
$admin_menu[] = toolbar_item_link(