Skip to content
Code-Schnipsel Gruppen Projekte
Commit 462c4742 erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

fix: do not use non-existing method

Übergeordneter e64d3393
No related branches found
No related tags found
3 Merge Requests!17Update 'next-3.x' with latest changes from 'main',!16chore: update phpstan version in phive configuration,!15fix: improve type consistency and readability in memberships
Pipeline #15936 mit Warnungen bestanden mit Phase
in 1 Minute und 39 Sekunden
......@@ -481,7 +481,8 @@ public function startAbortCancel(): void
]);
}
$abortCancelUrl = Verifier::startVerification($this->getAbortCancelVerification(), true);
$verification = $this->createAbortCancelVerification();
$abortCancelUrl = $verification->getVerificationUrl();
$this->setAttributes([
'cancelStatus' => MembershipUsersHandler::CANCEL_STATUS_ABORT_CANCEL_CONFIRM_PENDING,
......@@ -517,7 +518,10 @@ public function confirmAbortCancel(): void
try {
$verification = $this->getAbortCancelVerification();
$this->verificationRepository->delete($verification);
if ($verification) {
$this->verificationRepository->delete($verification);
}
} catch (\Exception $Exception) {
QUI\System\Log::writeException($Exception);
}
......@@ -595,6 +599,10 @@ public function sendConfirmCancelReminderMail(): bool
$cancelVerification = $this->getCancelVerification();
if (!$cancelVerification) {
return false;
}
$this->sendMail(
$subject,
dirname(__FILE__, 5) . '/templates/mail_confirmcancel_reminder.html',
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren