projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac3b12f
)
Menu: menu.pl links entfernt
author
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 16 Jul 2015 13:26:48 +0000
(15:26 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 20 Jul 2015 14:37:27 +0000
(16:37 +0200)
scripts/migrate_menu.pl
patch
|
blob
|
history
diff --git
a/scripts/migrate_menu.pl
b/scripts/migrate_menu.pl
index
a27a07c
..
89e5abe
100644
(file)
--- 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};