From 0e5775012ff898074a39f4a9905a243968e16c5a Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sun, 4 Sep 2016 11:01:13 +0200 Subject: [PATCH] [Bridge] Rename parameter 'name' to 'url' --- lib/Bridge.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Bridge.php b/lib/Bridge.php index e889d10..ed4a143 100644 --- a/lib/Bridge.php +++ b/lib/Bridge.php @@ -591,20 +591,20 @@ abstract class RssExpander extends HttpCachingBridgeAbstract { private $uri; private $description; - public function collectExpandableDatas($name){ - if(empty($name)){ - $this->returnServerError('There is no $name for this RSS expander'); + public function collectExpandableDatas($url){ + if(empty($url)){ + $this->returnServerError('There is no $url for this RSS expander'); } - $this->debugMessage('Loading from ' . $name); + $this->debugMessage('Loading from ' . $url); /* Notice we do not use cache here on purpose: * we want a fresh view of the RSS stream each time */ - $content = $this->getContents($name) or $this->returnServerError('Could not request ' . $name); + $content = $this->getContents($url) or $this->returnServerError('Could not request ' . $url); $rssContent = simplexml_load_string($content); - $this->debugMessage('loaded RSS from ' . $name); + $this->debugMessage('loaded RSS from ' . $url); if(isset($rssContent->channel[0])){ // RSS format // TODO insert RSS format detection