aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Entry.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-28 22:57:11 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-28 22:57:11 +0200
commit917040d4a0b7694ca4f695c02243ffb4283d6901 (patch)
tree0bd70455b7748145a7b944d47c6845ba214b2b4d /src/Wallabag/CoreBundle/Entity/Entry.php
parent4180fddac1aa011f121a1ab901f9f21aafa46112 (diff)
parentfef4124130484ebdb8194b83a3278e6f970a46fb (diff)
downloadwallabag-917040d4a0b7694ca4f695c02243ffb4283d6901.tar.gz
wallabag-917040d4a0b7694ca4f695c02243ffb4283d6901.tar.zst
wallabag-917040d4a0b7694ca4f695c02243ffb4283d6901.zip
Merge pull request #1434 from wallabag/travis-db
Add multiple database tests on Travis
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php
index 7108889e..9e81ba12 100644
--- a/src/Wallabag/CoreBundle/Entity/Entry.php
+++ b/src/Wallabag/CoreBundle/Entity/Entry.php
@@ -7,7 +7,6 @@ use Doctrine\ORM\Mapping as ORM;
7use Symfony\Component\Validator\Constraints as Assert; 7use Symfony\Component\Validator\Constraints as Assert;
8use Hateoas\Configuration\Annotation as Hateoas; 8use Hateoas\Configuration\Annotation as Hateoas;
9use JMS\Serializer\Annotation\XmlRoot; 9use JMS\Serializer\Annotation\XmlRoot;
10use Wallabag\CoreBundle\Tools\Utils;
11 10
12/** 11/**
13 * Entry. 12 * Entry.
@@ -279,8 +278,6 @@ class Entry
279 public function setContent($content) 278 public function setContent($content)
280 { 279 {
281 $this->content = $content; 280 $this->content = $content;
282 $this->readingTime = Utils::getReadingTime($content);
283 $this->domainName = parse_url($this->url, PHP_URL_HOST);
284 281
285 return $this; 282 return $this;
286 } 283 }