diff --git a/application/Contract/ContractController.php b/application/Contract/ContractController.php index 37b772fe9..5470fbd3d 100644 --- a/application/Contract/ContractController.php +++ b/application/Contract/ContractController.php @@ -216,16 +216,14 @@ class ContractController extends mfBaseController } } - - - + $contract->sendCancelNotification($linked_contracts); $this->layout()->setFlash("Kündigung gespeichert", "success"); $this->redirect("Contract", "view", ["contract_id" => $contract->id]); } - protected function sendCancelNotification() { + /*protected function sendCancelNotification() { $contract_id = $this->request->contract_id; $contract = new Contract($contract_id); @@ -246,7 +244,7 @@ class ContractController extends mfBaseController $this->redirect("Contract", "view", ["contract_id" => $contract_id]); - } + }*/ protected function productchangeAction() {