diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-02-12 15:59:13 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-03 10:03:28 +0100 |
commit | fe8b37c137adbe036f58616c15dbcffd07dd2cd4 (patch) | |
tree | a0d6b5db7867ae7d1600e74b5b193dfaf8375125 /src/Wallabag/ImportBundle/Import/WallabagV2Import.php | |
parent | 7d12fd06288d71bd0f939ab34cfe2c0d881576e8 (diff) | |
download | wallabag-fe8b37c137adbe036f58616c15dbcffd07dd2cd4.tar.gz wallabag-fe8b37c137adbe036f58616c15dbcffd07dd2cd4.tar.zst wallabag-fe8b37c137adbe036f58616c15dbcffd07dd2cd4.zip |
Mark all imported articles as read
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/WallabagV2Import.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/WallabagV2Import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php index 7125eabc..c4bac561 100644 --- a/src/Wallabag/ImportBundle/Import/WallabagV2Import.php +++ b/src/Wallabag/ImportBundle/Import/WallabagV2Import.php | |||
@@ -51,7 +51,7 @@ class WallabagV2Import extends WallabagV1Import implements ImportInterface | |||
51 | $entry = new Entry($this->user); | 51 | $entry = new Entry($this->user); |
52 | $entry->setUrl($importedEntry['url']); | 52 | $entry->setUrl($importedEntry['url']); |
53 | $entry->setTitle($importedEntry['title']); | 53 | $entry->setTitle($importedEntry['title']); |
54 | $entry->setArchived($importedEntry['is_archived']); | 54 | $entry->setArchived($importedEntry['is_archived'] || $this->markAsRead); |
55 | $entry->setStarred($importedEntry['is_starred']); | 55 | $entry->setStarred($importedEntry['is_starred']); |
56 | $entry->setContent($importedEntry['content']); | 56 | $entry->setContent($importedEntry['content']); |
57 | $entry->setReadingTime($importedEntry['reading_time']); | 57 | $entry->setReadingTime($importedEntry['reading_time']); |