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/ReadabilityImport.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/ReadabilityImport.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/ReadabilityImport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/ReadabilityImport.php b/src/Wallabag/ImportBundle/Import/ReadabilityImport.php index 002b27f4..d6777582 100644 --- a/src/Wallabag/ImportBundle/Import/ReadabilityImport.php +++ b/src/Wallabag/ImportBundle/Import/ReadabilityImport.php | |||
@@ -111,7 +111,7 @@ class ReadabilityImport extends AbstractImport | |||
111 | // update entry with content (in case fetching failed, the given entry will be return) | 111 | // update entry with content (in case fetching failed, the given entry will be return) |
112 | $this->fetchContent($entry, $data['url'], $data); | 112 | $this->fetchContent($entry, $data['url'], $data); |
113 | 113 | ||
114 | $entry->setArchived($data['is_archived']); | 114 | $entry->updateArchived($data['is_archived']); |
115 | $entry->setStarred($data['is_starred']); | 115 | $entry->setStarred($data['is_starred']); |
116 | $entry->setCreatedAt(new \DateTime($data['created_at'])); | 116 | $entry->setCreatedAt(new \DateTime($data['created_at'])); |
117 | 117 | ||