mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-30 18:48:12 +00:00
CS
This commit is contained in:
parent
e4b46f77ef
commit
abb5291cd5
2 changed files with 13 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue