From a72ed5f93f430ffb94ea87c5487e9e8ec0dd9642 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 12 May 2014 22:57:53 +0200 Subject: remove dead code --- fetcher/feedfetcher.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fetcher') diff --git a/fetcher/feedfetcher.php b/fetcher/feedfetcher.php index 47cd0924a..52da1f648 100644 --- a/fetcher/feedfetcher.php +++ b/fetcher/feedfetcher.php @@ -175,8 +175,7 @@ class FeedFetcher implements IFeedFetcher { $feed = new Feed(); // unescape content because angularjs helps against XSS - $title = strip_tags($this->decodeTwice($simplePieFeed->get_title(), - ENT_COMPAT, 'UTF-8' )); + $title = strip_tags($this->decodeTwice($simplePieFeed->get_title())); // if there is no title use the url if(!$title) { -- cgit v1.2.3