aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Controller/ConfigController.php14
-rw-r--r--src/Wallabag/UserBundle/Entity/User.php12
2 files changed, 13 insertions, 13 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php
index 0a306d57..3cafd1bc 100644
--- a/src/Wallabag/CoreBundle/Controller/ConfigController.php
+++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php
@@ -252,13 +252,13 @@ class ConfigController extends Controller
252 return $config; 252 return $config;
253 } 253 }
254 254
255 /** 255 /**
256 * Delete account for current user. 256 * Delete account for current user.
257 * 257 *
258 * @Route("/account/delete", name="delete_account") 258 * @Route("/account/delete", name="delete_account")
259 * 259 *
260 * @return \Symfony\Component\HttpFoundation\RedirectResponse 260 * @return \Symfony\Component\HttpFoundation\RedirectResponse
261 */ 261 */
262 public function deleteAccountAction() 262 public function deleteAccountAction()
263 { 263 {
264 $em = $this->get('fos_user.user_manager'); 264 $em = $this->get('fos_user.user_manager');
diff --git a/src/Wallabag/UserBundle/Entity/User.php b/src/Wallabag/UserBundle/Entity/User.php
index eb7774cd..ae12e5d5 100644
--- a/src/Wallabag/UserBundle/Entity/User.php
+++ b/src/Wallabag/UserBundle/Entity/User.php
@@ -243,11 +243,11 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf
243 243
244 public function serialize() 244 public function serialize()
245 { 245 {
246 return serialize($this->id); 246 return serialize($this->id);
247 } 247 }
248 248
249 public function unserialize($serialized) 249 public function unserialize($serialized)
250 { 250 {
251 $this->id = unserialize($serialized); 251 $this->id = unserialize($serialized);
252 } 252 }
253} 253}