X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FImportBundle%2FImport%2FInstapaperImport.php;fp=src%2FWallabag%2FImportBundle%2FImport%2FInstapaperImport.php;h=5a18c7c0c6c82c0426ba8d2b436f6beed79b55bc;hb=9f8f188d928b47503d39348c5990379a572b570a;hp=e4f0970c0c3f41a531a9d548c46fdc175946e92c;hpb=4d0c632c70ea50d459c3c55ddda2e0f394dd51cb;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/ImportBundle/Import/InstapaperImport.php b/src/Wallabag/ImportBundle/Import/InstapaperImport.php index e4f0970c..5a18c7c0 100644 --- a/src/Wallabag/ImportBundle/Import/InstapaperImport.php +++ b/src/Wallabag/ImportBundle/Import/InstapaperImport.php @@ -105,6 +105,18 @@ class InstapaperImport extends AbstractImport return true; } + /** + * {@inheritdoc} + */ + public function validateEntry(array $importedEntry) + { + if (empty($importedEntry['url'])) { + return false; + } + + return true; + } + /** * {@inheritdoc} */