diff --git a/app/controllers/InvoiceController.php b/app/controllers/InvoiceController.php index 4195677843..c94b3cf577 100755 --- a/app/controllers/InvoiceController.php +++ b/app/controllers/InvoiceController.php @@ -296,10 +296,6 @@ class InvoiceController extends \BaseController { $invitation->invitation_key = str_random(RANDOM_KEY_LENGTH); $invitation->save(); } - else if (!in_array($contact->id, $sendInvoiceIds) && $invitation) - { - $invitation->delete(); - } } $message = ''; diff --git a/codecept.phar b/codecept.phar deleted file mode 100644 index 3ef3fa547a..0000000000 Binary files a/codecept.phar and /dev/null differ