From e86c1c2a39bd3287319a134b0889a933ffc50b9e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 29 Feb 2016 21:31:18 +0100 Subject: [PATCH] Auftrags-Controller: unbenutzte action "update" entfernt. --- SL/Controller/Order.pm | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/SL/Controller/Order.pm b/SL/Controller/Order.pm index 2c8262bcf..5b225a277 100644 --- a/SL/Controller/Order.pm +++ b/SL/Controller/Order.pm @@ -48,7 +48,7 @@ use Rose::Object::MakeMethods::Generic __PACKAGE__->run_before('_check_auth'); __PACKAGE__->run_before('_recalc', - only => [ qw(update save save_and_delivery_order print create_pdf send_email) ]); + only => [ qw(save save_and_delivery_order print create_pdf send_email) ]); __PACKAGE__->run_before('_get_unalterable_data', only => [ qw(save save_and_delivery_order print create_pdf send_email) ]); @@ -88,19 +88,6 @@ sub action_edit { ); } -sub action_update { - my ($self) = @_; - - $self->_pre_render(); - $self->render( - 'order/form', - title => $self->type eq _sales_order_type() ? $::locale->text('Edit Sales Order') - : $self->type eq _purchase_order_type() ? $::locale->text('Edit Purchase Order') - : '', - %{$self->{template_args}} - ); -} - sub action_delete { my ($self) = @_; -- 2.20.1