]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Import/FirefoxImport.php
Fix bad date format in Browser import
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Import / FirefoxImport.php
index 351cbef12683545b47404fbad95c36a2ce19f6ad..1a0b1154306d1a6de868995b21da1991236f807f 100644 (file)
@@ -29,35 +29,4 @@ class FirefoxImport extends BrowserImport
     {
         return 'import.firefox.description';
     }
-
-    /**
-     * {@inheritdoc}
-     */
-    protected function prepareEntry($entry = [])
-    {
-        $data = [
-          'title' => $entry['name'],
-          'html' => '',
-          'url' => $entry['url'],
-          'is_archived' => $this->markAsRead,
-          'tags' => '',
-          'created_at' => $entry['date_added'],
-      ];
-
-        if (array_key_exists('tags', $entry) && $entry['tags'] != '') {
-            $data['tags'] = $entry['tags'];
-        }
-
-        return $data;
-    }
-
-    /**
-     * {@inheritdoc}
-     */
-    protected function setEntryAsRead(array $importedEntry)
-    {
-        $importedEntry['is_archived'] = 1;
-
-        return $importedEntry;
-    }
 }