/** * @param string $login * @throws AccountException */ public function deleteAccount($login = null) { $user = $this->getUserOrCurrentUser($login); $this->userManipulator->delete($user); }
/** * @param string $login * @throws AccountException */ public function deleteAccount($login = null) { $user = $this->getUserOrCurrentUser($login); $this->userManipulator->delete($user); }