From db6a2e2f3d5f3b7cd5f9d185537ecb32248f941a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Mon, 19 Nov 2018 11:33:38 +0100 Subject: [PATCH] disable_one_time_config: Transaktionssicher (Testcode entfernt!) --- SL/DB/PeriodicInvoicesConfig.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/SL/DB/PeriodicInvoicesConfig.pm b/SL/DB/PeriodicInvoicesConfig.pm index c1dc15eb7..ceb532af9 100644 --- a/SL/DB/PeriodicInvoicesConfig.pm +++ b/SL/DB/PeriodicInvoicesConfig.pm @@ -144,7 +144,6 @@ sub disable_one_time_config { 1; # make Emacs happy $self->active(0); $self->order->update_attributes(closed => 1); - die; $self->save; 1; })) { -- 2.20.1