diff options
author | Jerome Charaoui <jerome@riseup.net> | 2016-12-02 23:55:30 -0500 |
---|---|---|
committer | Jerome Charaoui <jerome@riseup.net> | 2016-12-03 00:12:20 -0500 |
commit | 3cd6da0b749bd136758add109ed30531be224f4a (patch) | |
tree | f6ec14aa75e7a91d4a590cf542a797c196e367cd /src/Wallabag/ImportBundle/Import/PinboardImport.php | |
parent | e858018fdd82b26bfef00e92398ce7462264c4c4 (diff) | |
download | wallabag-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.php | 2 |
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'], |