mirror of
https://github.com/openvk/openvk
synced 2025-01-09 01:09:46 +03:00
Correct the code style in the profile deactivation function
This commit is contained in:
parent
b1ce106e4c
commit
42bba82941
4 changed files with 3 additions and 6 deletions
|
@ -331,6 +331,5 @@ final class AuthPresenter extends OpenVKPresenter
|
|||
$this->user->identity->reactivate();
|
||||
|
||||
$this->redirect("/", 2);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -282,7 +282,6 @@ final class UserPresenter extends OpenVKPresenter
|
|||
$user->toggleSubscription($this->user->identity);
|
||||
|
||||
$this->redirect("/id" . $user->getId());
|
||||
exit;
|
||||
}
|
||||
|
||||
function renderSetAvatar(): void
|
||||
|
@ -506,7 +505,6 @@ final class UserPresenter extends OpenVKPresenter
|
|||
$this->user->identity->deactivate($reason);
|
||||
|
||||
$this->redirect("/");
|
||||
exit;
|
||||
}
|
||||
|
||||
function renderTwoFactorAuthSettings(): void
|
||||
|
|
Loading…
Reference in a new issue