aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ImportBundle/Import/BrowserImport.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-05-28 21:50:23 +0200
committerGitHub <noreply@github.com>2017-05-28 21:50:23 +0200
commitb788add08787863ac2a0e68ddaf4620da4b2b33c (patch)
tree520242e7454abd9e4562d250a5be46496d41b9a6 /src/Wallabag/ImportBundle/Import/BrowserImport.php
parent35941d57ee4d06ec3557d4b126d5f6fd263bcf3a (diff)
parentde8d2a9005321a935e52f4471f031f73bb240412 (diff)
downloadwallabag-b788add08787863ac2a0e68ddaf4620da4b2b33c.tar.gz
wallabag-b788add08787863ac2a0e68ddaf4620da4b2b33c.tar.zst
wallabag-b788add08787863ac2a0e68ddaf4620da4b2b33c.zip
Merge pull request #3153 from wallabag/content-proxy-refactor
Move Tags assigner to a separate file
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/BrowserImport.php')
-rw-r--r--src/Wallabag/ImportBundle/Import/BrowserImport.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/ImportBundle/Import/BrowserImport.php b/src/Wallabag/ImportBundle/Import/BrowserImport.php
index 8bf7d92e..ef0eeb7e 100644
--- a/src/Wallabag/ImportBundle/Import/BrowserImport.php
+++ b/src/Wallabag/ImportBundle/Import/BrowserImport.php
@@ -4,7 +4,6 @@ namespace Wallabag\ImportBundle\Import;
4 4
5use Wallabag\CoreBundle\Entity\Entry; 5use Wallabag\CoreBundle\Entity\Entry;
6use Wallabag\UserBundle\Entity\User; 6use Wallabag\UserBundle\Entity\User;
7use Wallabag\CoreBundle\Helper\ContentProxy;
8use Wallabag\CoreBundle\Event\EntrySavedEvent; 7use Wallabag\CoreBundle\Event\EntrySavedEvent;
9 8
10abstract class BrowserImport extends AbstractImport 9abstract class BrowserImport extends AbstractImport
@@ -205,7 +204,7 @@ abstract class BrowserImport extends AbstractImport
205 $entry = $this->fetchContent($entry, $data['url'], $data); 204 $entry = $this->fetchContent($entry, $data['url'], $data);
206 205
207 if (array_key_exists('tags', $data)) { 206 if (array_key_exists('tags', $data)) {
208 $this->contentProxy->assignTagsToEntry( 207 $this->tagsAssigner->assignTagsToEntry(
209 $entry, 208 $entry,
210 $data['tags'] 209 $data['tags']
211 ); 210 );