diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2015-10-26 14:38:24 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-01-02 23:24:17 +0100 |
commit | dda57bb9443817e3a080d5d25343f5a7e15dd14f (patch) | |
tree | 75a2447f84aad68ff6a1efe01019b77a2148d339 /src/Wallabag/UserBundle/Entity/User.php | |
parent | 87f23b005c5f68f7463333a74317efa4eb9a9565 (diff) | |
download | wallabag-dda57bb9443817e3a080d5d25343f5a7e15dd14f.tar.gz wallabag-dda57bb9443817e3a080d5d25343f5a7e15dd14f.tar.zst wallabag-dda57bb9443817e3a080d5d25343f5a7e15dd14f.zip |
fix #1502 avoid duplicate entry and store pocket url in config
Diffstat (limited to 'src/Wallabag/UserBundle/Entity/User.php')
-rw-r--r-- | src/Wallabag/UserBundle/Entity/User.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/Wallabag/UserBundle/Entity/User.php b/src/Wallabag/UserBundle/Entity/User.php index 4851999f..e6528420 100644 --- a/src/Wallabag/UserBundle/Entity/User.php +++ b/src/Wallabag/UserBundle/Entity/User.php | |||
@@ -84,13 +84,6 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf | |||
84 | */ | 84 | */ |
85 | private $trusted; | 85 | private $trusted; |
86 | 86 | ||
87 | /** | ||
88 | * @var date | ||
89 | * | ||
90 | * @ORM\Column(name="last_pocket_import", type="datetime", nullable=true) | ||
91 | */ | ||
92 | private $lastPocketImport; | ||
93 | |||
94 | public function __construct() | 87 | public function __construct() |
95 | { | 88 | { |
96 | parent::__construct(); | 89 | parent::__construct(); |
@@ -247,20 +240,4 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf | |||
247 | 240 | ||
248 | return false; | 241 | return false; |
249 | } | 242 | } |
250 | |||
251 | /** | ||
252 | * @return date | ||
253 | */ | ||
254 | public function getLastPocketImport() | ||
255 | { | ||
256 | return $this->lastPocketImport; | ||
257 | } | ||
258 | |||
259 | /** | ||
260 | * @param date $lastPocketImport | ||
261 | */ | ||
262 | public function setLastPocketImport($lastPocketImport) | ||
263 | { | ||
264 | $this->lastPocketImport = $lastPocketImport; | ||
265 | } | ||
266 | } | 243 | } |