mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-07 06:22:22 +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;
|
return $config;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Delete account for current user.
|
* Delete account for current user.
|
||||||
*
|
*
|
||||||
* @Route("/account/delete", name="delete_account")
|
* @Route("/account/delete", name="delete_account")
|
||||||
*
|
*
|
||||||
* @return \Symfony\Component\HttpFoundation\RedirectResponse
|
* @return \Symfony\Component\HttpFoundation\RedirectResponse
|
||||||
*/
|
*/
|
||||||
public function deleteAccountAction()
|
public function deleteAccountAction()
|
||||||
{
|
{
|
||||||
$em = $this->get('fos_user.user_manager');
|
$em = $this->get('fos_user.user_manager');
|
||||||
|
|
|
@ -243,11 +243,11 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
|
||||||
|
|
||||||
public function serialize()
|
public function serialize()
|
||||||
{
|
{
|
||||||
return serialize($this->id);
|
return serialize($this->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function unserialize($serialized)
|
public function unserialize($serialized)
|
||||||
{
|
{
|
||||||
$this->id = unserialize($serialized);
|
$this->id = unserialize($serialized);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue