diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-07-01 10:58:15 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 13:27:17 +0200 |
commit | abb5291cd5dc98211273e5d3b516a6a0ed8b980f (patch) | |
tree | 8b3664bfd7ea3187fe46acfb5c8b96c8b7d7d0ca /src/Wallabag/UserBundle/Entity | |
parent | e4b46f77ef2984b33f4dff0efea0585c7ab0cfbf (diff) | |
download | wallabag-abb5291cd5dc98211273e5d3b516a6a0ed8b980f.tar.gz wallabag-abb5291cd5dc98211273e5d3b516a6a0ed8b980f.tar.zst wallabag-abb5291cd5dc98211273e5d3b516a6a0ed8b980f.zip |
CS
Diffstat (limited to 'src/Wallabag/UserBundle/Entity')
-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 | } |