From 69ac1b2d2115a41afe2bd4527abadda70063019a Mon Sep 17 00:00:00 2001 From: Janne Heß Date: Wed, 6 Mar 2019 19:28:07 +0100 Subject: Support disabling the arrival feature Setting `autoarrive` to true will now cause all newly registered angels to be automatically confirmed as arrived. --- includes/sys_menu.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'includes/sys_menu.php') 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( -- cgit v1.2.3-70-g09d2