mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
bridges: Return parent::getURI by default
This commit is contained in:
parent
c4169f1579
commit
512a4f292b
21 changed files with 100 additions and 38 deletions
|
@ -43,9 +43,13 @@ class WikipediaBridge extends BridgeAbstract {
|
|||
));
|
||||
|
||||
public function getURI(){
|
||||
return 'https://'
|
||||
. strtolower($this->getInput('language'))
|
||||
. '.wikipedia.org';
|
||||
if(!is_null($this->getInput('language'))){
|
||||
return 'https://'
|
||||
. strtolower($this->getInput('language'))
|
||||
. '.wikipedia.org';
|
||||
}
|
||||
|
||||
return parent::getURI();
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue