From: Sven Schöling Date: Mon, 23 Jan 2017 15:41:47 +0000 (+0100) Subject: IC: dispatcher wird nicht mehr gebraucht X-Git-Tag: release-3.5.4~1629 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=13152ecc34f354968f48f4b9a779b652aaec383a;p=kivitendo-erp.git IC: dispatcher wird nicht mehr gebraucht --- diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 34915eaf9..022422b1c 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -669,11 +669,3 @@ sub generate_report { } #end generate_report sub continue { call_sub($form->{"nextsub"}); } - -sub dispatcher { - my $action = first { $::form->{"action_${_}"} } qw(add); - $::form->error($::locale->text('No action defined.')) unless $action; - - $::form->{dispatched_action} = $action; - call_sub($action); -}