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/WallabagImport.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/WallabagImport.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/WallabagImport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/WallabagImport.php b/src/Wallabag/ImportBundle/Import/WallabagImport.php index c64ccd64..916137f1 100644 --- a/src/Wallabag/ImportBundle/Import/WallabagImport.php +++ b/src/Wallabag/ImportBundle/Import/WallabagImport.php | |||
@@ -122,7 +122,7 @@ abstract class WallabagImport extends AbstractImport | |||
122 | $entry->setPreviewPicture($importedEntry['preview_picture']); | 122 | $entry->setPreviewPicture($importedEntry['preview_picture']); |
123 | } | 123 | } |
124 | 124 | ||
125 | $entry->setArchived($data['is_archived']); | 125 | $entry->updateArchived($data['is_archived']); |
126 | $entry->setStarred($data['is_starred']); | 126 | $entry->setStarred($data['is_starred']); |
127 | 127 | ||
128 | if (!empty($data['created_at'])) { | 128 | if (!empty($data['created_at'])) { |