Correct the code style in the profile deactivation function

This commit is contained in:
Maxim Leshchenko 2022-08-05 21:29:31 +01:00
parent b1ce106e4c
commit 42bba82941
No known key found for this signature in database
GPG key ID: BB9C44A8733FBEEE
4 changed files with 3 additions and 6 deletions

View file

@ -331,6 +331,5 @@ final class AuthPresenter extends OpenVKPresenter
$this->user->identity->reactivate(); $this->user->identity->reactivate();
$this->redirect("/", 2); $this->redirect("/", 2);
exit;
} }
} }

View file

@ -282,7 +282,6 @@ final class UserPresenter extends OpenVKPresenter
$user->toggleSubscription($this->user->identity); $user->toggleSubscription($this->user->identity);
$this->redirect("/id" . $user->getId()); $this->redirect("/id" . $user->getId());
exit;
} }
function renderSetAvatar(): void function renderSetAvatar(): void
@ -506,7 +505,6 @@ final class UserPresenter extends OpenVKPresenter
$this->user->identity->deactivate($reason); $this->user->identity->deactivate($reason);
$this->redirect("/"); $this->redirect("/");
exit;
} }
function renderTwoFactorAuthSettings(): void function renderTwoFactorAuthSettings(): void