From 3d66bd1137b42be837800333d6643af4e0d7a136 Mon Sep 17 00:00:00 2001 From: Terranom674 Date: Sat, 5 Sep 2026 16:02:09 +0200 Subject: [PATCH] Move customer QR upload out of Discover into root frontend navigation --- main.inc.php | 46 ++-------------------------------------------- 1 file changed, 2 insertions(+), 44 deletions(-) diff --git a/main.inc.php b/main.inc.php index 6b26694..bdc36ed 100644 --- a/main.inc.php +++ b/main.inc.php @@ -1,7 +1,7 @@ get_id() !== 'menubar') - { - return; - } - - $block = $menu->get_block('mbMenu'); - if ($block === null) - { - return; - } - - if (!is_array($block->data)) - { - $block->data = array(); - } - - $block->data['bratonien_customer_qr'] = array( - 'TITLE' => 'QR-Code hochladen', - 'NAME' => 'QR-Code hochladen', - 'URL' => get_root_url().'plugins/'.BRATONIEN_TOOLS_ID.'/customer-qr-upload.php', - ); -} - function bratonien_tools_prepare_connector_private_import() { global $conf;