diff options
author | Sébastien Viande <sviande@gmail.com> | 2018-04-11 11:42:52 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2018-09-21 10:33:33 +0200 |
commit | 7975395d10bb381de8cd15b5ee15198318af6d55 (patch) | |
tree | 98e3fc9f9ca7bddfd4331132c44953aa4e120259 /src/Wallabag/ImportBundle/Import/PinboardImport.php | |
parent | 2f3af70e1ae6f9dd403e87d232ddf5315e34e430 (diff) | |
download | wallabag-7975395d10bb381de8cd15b5ee15198318af6d55.tar.gz wallabag-7975395d10bb381de8cd15b5ee15198318af6d55.tar.zst wallabag-7975395d10bb381de8cd15b5ee15198318af6d55.zip |
Entry: add archived_at property and updateArchived method
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/PinboardImport.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/PinboardImport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/PinboardImport.php b/src/Wallabag/ImportBundle/Import/PinboardImport.php index 110b0464..9a5e8cb6 100644 --- a/src/Wallabag/ImportBundle/Import/PinboardImport.php +++ b/src/Wallabag/ImportBundle/Import/PinboardImport.php | |||
@@ -119,7 +119,7 @@ class PinboardImport extends AbstractImport | |||
119 | ); | 119 | ); |
120 | } | 120 | } |
121 | 121 | ||
122 | $entry->setArchived($data['is_archived']); | 122 | $entry->updateArchived($data['is_archived']); |
123 | $entry->setStarred($data['is_starred']); | 123 | $entry->setStarred($data['is_starred']); |
124 | $entry->setCreatedAt(new \DateTime($data['created_at'])); | 124 | $entry->setCreatedAt(new \DateTime($data['created_at'])); |
125 | 125 | ||