From 49281a2ed36933421626de78cbaa740c2fc66978 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sun, 16 Oct 2016 12:47:34 +0200 Subject: [PATCH] [FeedExpander] Remove orphan getDescription function --- lib/FeedExpander.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/FeedExpander.php b/lib/FeedExpander.php index 217caa7..df73306 100644 --- a/lib/FeedExpander.php +++ b/lib/FeedExpander.php @@ -4,7 +4,6 @@ abstract class FeedExpander extends BridgeAbstract { private $name; private $uri; - private $description; private $feedType; public function collectExpandableDatas($url, $maxItems = -1){ @@ -85,7 +84,6 @@ abstract class FeedExpander extends BridgeAbstract { protected function load_RSS_2_0_feed_data($rssContent){ $this->name = trim($rssContent->title); $this->uri = trim($rssContent->link); - $this->description = trim($rssContent->description); } protected function load_ATOM_feed_data($content){ @@ -105,9 +103,6 @@ abstract class FeedExpander extends BridgeAbstract { } } } - - if(isset($content->subtitle)) - $this->description = $content->subtitle; } protected function parseATOMItem($feedItem){ @@ -201,8 +196,4 @@ abstract class FeedExpander extends BridgeAbstract { public function getName(){ return $this->name; } - - public function getDescription(){ - return $this->description; - } }