]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/ImportBundle/Import/ChromeImport.php
Fix bad date format in Browser import
[github/wallabag/wallabag.git] / src / Wallabag / ImportBundle / Import / ChromeImport.php
index 1af7cc87ba5b023fbb3e60976171f49394d5ed34..60602a1bdecbda0a96bb61b5a715f6cbdf5d32a0 100644 (file)
@@ -29,35 +29,4 @@ class ChromeImport extends BrowserImport
     {
         return 'import.chrome.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;
-    }
 }