forked from wallabag/wallabag
CS
This commit is contained in:
committed by
Jeremy Benoist
parent
e4b46f77ef
commit
abb5291cd5
@ -252,13 +252,13 @@ class ConfigController extends Controller
|
||||
return $config;
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete account for current user.
|
||||
*
|
||||
* @Route("/account/delete", name="delete_account")
|
||||
*
|
||||
* @return \Symfony\Component\HttpFoundation\RedirectResponse
|
||||
*/
|
||||
/**
|
||||
* Delete account for current user.
|
||||
*
|
||||
* @Route("/account/delete", name="delete_account")
|
||||
*
|
||||
* @return \Symfony\Component\HttpFoundation\RedirectResponse
|
||||
*/
|
||||
public function deleteAccountAction()
|
||||
{
|
||||
$em = $this->get('fos_user.user_manager');
|
||||
|
||||
@ -243,11 +243,11 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
|
||||
|
||||
public function serialize()
|
||||
{
|
||||
return serialize($this->id);
|
||||
}
|
||||
return serialize($this->id);
|
||||
}
|
||||
|
||||
public function unserialize($serialized)
|
||||
{
|
||||
$this->id = unserialize($serialized);
|
||||
}
|
||||
public function unserialize($serialized)
|
||||
{
|
||||
$this->id = unserialize($serialized);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user