aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/PinboardImport.php
diff options
context:
space:
mode:
authorJerome Charaoui <jerome@riseup.net>2016-12-02 23:55:30 -0500
committerJerome Charaoui <jerome@riseup.net>2016-12-03 00:12:20 -0500
commit3cd6da0b749bd136758add109ed30531be224f4a (patch)
treef6ec14aa75e7a91d4a590cf542a797c196e367cd /src/Wallabag/ImportBundle/Import/PinboardImport.php
parente858018fdd82b26bfef00e92398ce7462264c4c4 (diff)
downloadwallabag-3cd6da0b749bd136758add109ed30531be224f4a.tar.gz
wallabag-3cd6da0b749bd136758add109ed30531be224f4a.tar.zst
wallabag-3cd6da0b749bd136758add109ed30531be224f4a.zip
Allow fetching content on all import types
For better consistency, allow all types of imported entries to update, which was already the case for Firefox and Chrome.
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/PinboardImport.php')
-rw-r--r--src/Wallabag/ImportBundle/Import/PinboardImport.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Wallabag/ImportBundle/Import/PinboardImport.php b/src/Wallabag/ImportBundle/Import/PinboardImport.php
index 9bcfbc36..d9865534 100644
--- a/src/Wallabag/ImportBundle/Import/PinboardImport.php
+++ b/src/Wallabag/ImportBundle/Import/PinboardImport.php
@@ -98,8 +98,6 @@ class PinboardImport extends AbstractImport
98 $data = [ 98 $data = [
99 'title' => $importedEntry['description'], 99 'title' => $importedEntry['description'],
100 'url' => $importedEntry['href'], 100 'url' => $importedEntry['href'],
101 'content_type' => '',
102 'language' => '',
103 'is_archived' => ('no' === $importedEntry['toread']) || $this->markAsRead, 101 'is_archived' => ('no' === $importedEntry['toread']) || $this->markAsRead,
104 'is_starred' => false, 102 'is_starred' => false,
105 'created_at' => $importedEntry['time'], 103 'created_at' => $importedEntry['time'],