*/
public function getDescription()
{
- return 'This importer will import all your Pocket data. Pocket doesn\'t allow us to retrieve content from their service, so the readable content of each article will be re-fetched by wallabag.';
+ return 'import.pocket.description';
}
/**
return true;
}
-
/**
* Set whether articles must be all marked as read.
*
/**
* Get whether articles must be all marked as read.
*/
- public function getRead()
+ public function getMarkAsRead()
{
return $this->markAsRead;
}
$entry = $this->contentProxy->updateEntry($entry, $url);
// 0, 1, 2 - 1 if the item is archived - 2 if the item should be deleted
- if ($pocketEntry['status'] == 1 | $this->markAsRead) {
+ if ($pocketEntry['status'] == 1 || $this->markAsRead) {
$entry->setArchived(true);
}