aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Helper/ContentProxy.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-10-30 10:48:29 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-10-30 10:48:29 +0100
commit7f55941856549a3f5f45c42fdc171d66ff7ee297 (patch)
tree32292162726d6c1d708a29e7495725cf7a58b40f /src/Wallabag/CoreBundle/Helper/ContentProxy.php
parent45fd7e09d75995bd0b9a731ffd70054b7ae6ee1f (diff)
downloadwallabag-7f55941856549a3f5f45c42fdc171d66ff7ee297.tar.gz
wallabag-7f55941856549a3f5f45c42fdc171d66ff7ee297.tar.zst
wallabag-7f55941856549a3f5f45c42fdc171d66ff7ee297.zip
Use doctrine event to download images
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/ContentProxy.php')
-rw-r--r--src/Wallabag/CoreBundle/Helper/ContentProxy.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/ContentProxy.php b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
index 219b90d3..d90d3dc8 100644
--- a/src/Wallabag/CoreBundle/Helper/ContentProxy.php
+++ b/src/Wallabag/CoreBundle/Helper/ContentProxy.php
@@ -75,12 +75,6 @@ class ContentProxy
75 $entry->setDomainName($domainName); 75 $entry->setDomainName($domainName);
76 } 76 }
77 77
78 if (true) {
79 $this->logger->log('debug', 'Starting to download images');
80 $downloadImages = new DownloadImages($html, $url, $this->logger);
81 $html = $downloadImages->process();
82 }
83
84 $entry->setContent($html); 78 $entry->setContent($html);
85 79
86 if (isset($content['open_graph']['og_image'])) { 80 if (isset($content['open_graph']['og_image'])) {