diff options
Diffstat (limited to 'src/Wallabag/UserBundle')
-rw-r--r-- | src/Wallabag/UserBundle/Entity/User.php | 12 |
1 files changed, 6 insertions, 6 deletions
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 | } |