diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-09-21 09:46:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-21 09:46:58 +0000 |
commit | 2b6380f5acaecaa7aa04c12d7bf4fd7c84b60b08 (patch) | |
tree | a145b39f411f1981444fa68ad26f8789abdfa35a /src/Wallabag/ImportBundle/Import/PinboardImport.php | |
parent | 2f3af70e1ae6f9dd403e87d232ddf5315e34e430 (diff) | |
parent | 9007fe006286c63a7793326d9429792383ebd76d (diff) | |
download | wallabag-2b6380f5acaecaa7aa04c12d7bf4fd7c84b60b08.tar.gz wallabag-2b6380f5acaecaa7aa04c12d7bf4fd7c84b60b08.tar.zst wallabag-2b6380f5acaecaa7aa04c12d7bf4fd7c84b60b08.zip |
Merge pull request #3630 from sviande/archived_at
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 | ||