disable_one_time_config: Transaktionssicher (Testcode entfernt!)
authorJan Büren <jan@kivitendo.de>
Mon, 19 Nov 2018 10:33:38 +0000 (11:33 +0100)
committerJan Büren <jan@kivitendo.de>
Mon, 19 Nov 2018 12:40:15 +0000 (13:40 +0100)
SL/DB/PeriodicInvoicesConfig.pm

index c1dc15e..ceb532a 100644 (file)
@@ -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;
     })) {