From: Sven Schöling Date: Thu, 16 Jul 2015 13:26:48 +0000 (+0200) Subject: Menu: menu.pl links entfernt X-Git-Tag: release-3.3.0beta~31^2~17 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9632e9397e778cc13d914768408b577b03aec202;p=kivitendo-erp.git Menu: menu.pl links entfernt --- 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};