diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-06-02 11:26:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-02 11:26:37 +0200 |
commit | a687c8d915276eee0c0494156700f7d0c0606735 (patch) | |
tree | 23178dc2407aa1b926b79281c34d8e05b6318d3b /src/Wallabag/ImportBundle/Import/PocketImport.php | |
parent | 14b8a7c950147d32d7c9782832b87bf2b18b4fd7 (diff) | |
parent | f5924e954730efdb7b9fadf23c0b73b3f5a0a434 (diff) | |
download | wallabag-a687c8d915276eee0c0494156700f7d0c0606735.tar.gz wallabag-a687c8d915276eee0c0494156700f7d0c0606735.tar.zst wallabag-a687c8d915276eee0c0494156700f7d0c0606735.zip |
Merge pull request #2708 from jcharaoui/import-disablecontentupdate
Import disableContentUpdate
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/PocketImport.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/PocketImport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/PocketImport.php b/src/Wallabag/ImportBundle/Import/PocketImport.php index 8835161b..c1d5b6da 100644 --- a/src/Wallabag/ImportBundle/Import/PocketImport.php +++ b/src/Wallabag/ImportBundle/Import/PocketImport.php | |||
@@ -192,7 +192,7 @@ class PocketImport extends AbstractImport | |||
192 | $entry->setUrl($url); | 192 | $entry->setUrl($url); |
193 | 193 | ||
194 | // update entry with content (in case fetching failed, the given entry will be return) | 194 | // update entry with content (in case fetching failed, the given entry will be return) |
195 | $entry = $this->fetchContent($entry, $url); | 195 | $this->fetchContent($entry, $url); |
196 | 196 | ||
197 | // 0, 1, 2 - 1 if the item is archived - 2 if the item should be deleted | 197 | // 0, 1, 2 - 1 if the item is archived - 2 if the item should be deleted |
198 | $entry->setArchived($importedEntry['status'] == 1 || $this->markAsRead); | 198 | $entry->setArchived($importedEntry['status'] == 1 || $this->markAsRead); |