From 9632e9397e778cc13d914768408b577b03aec202 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 16 Jul 2015 15:26:48 +0200 Subject: [PATCH] Menu: menu.pl links entfernt --- scripts/migrate_menu.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/migrate_menu.pl b/scripts/migrate_menu.pl index a27a07c40..89e5abe17 100644 --- a/scripts/migrate_menu.pl +++ b/scripts/migrate_menu.pl @@ -64,6 +64,13 @@ sub translate_to_yaml { delete $item->{submenu}; } + #sanitize those stupid menu inlinks + if ($item->{module} eq 'menu.pl') { + delete $item->{module}; + delete $item->{action}; + delete $item->{target}; + } + # sanitize INSTANCE_CONF if ($item->{INSTANCE_CONF}) { my $instance_conf = delete $item->{INSTANCE_CONF}; -- 2.20.1