aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2015-08-12 21:45:21 +0200
committerJeremy Benoist <j0k3r@users.noreply.github.com>2015-08-12 21:45:21 +0200
commit82b07eb27284fb02ffa8c1a718378674b7af3e86 (patch)
tree92c6dbc5f3027f0f8be9f21433bf678a4c6c2954 /src/Wallabag/CoreBundle/Entity
parentd990dc6f0535cad745929ca90d1e4bb00ba47584 (diff)
parentc2257428b2188fc709c76ec8f531287888de9741 (diff)
downloadwallabag-82b07eb27284fb02ffa8c1a718378674b7af3e86.tar.gz
wallabag-82b07eb27284fb02ffa8c1a718378674b7af3e86.tar.zst
wallabag-82b07eb27284fb02ffa8c1a718378674b7af3e86.zip
Merge pull request #1334 from wallabag/v2-store-domainname
store domainName in database
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 9aebc55b..7d2d2027 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -266,6 +266,7 @@ class Entry
266 { 266 {
267 $this->content = $content; 267 $this->content = $content;
268 $this->readingTime = Tools::getReadingTime($content); 268 $this->readingTime = Tools::getReadingTime($content);
269 $this->domainName = parse_url($this->url, PHP_URL_HOST);
269 270
270 return $this; 271 return $this;
271 } 272 }