mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 03:50:13 +02:00
bridges: Remove unnecessary functions getName() and getURI()
This commit is contained in:
@@ -7,7 +7,7 @@ class NovelUpdatesBridge extends BridgeAbstract{
|
||||
$this->name = "Novel Updates";
|
||||
$this->uri = "http://www.novelupdates.com/";
|
||||
$this->description = "Returns releases from Novel Updates";
|
||||
$this->update = "2016-08-06";
|
||||
$this->update = "2016-08-09";
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
@@ -44,12 +44,11 @@ class NovelUpdatesBridge extends BridgeAbstract{
|
||||
$this->items[] = $item;
|
||||
}
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
return (!empty($this->request) ? $this->request.' - ' : '') .'Novel Updates';
|
||||
}
|
||||
public function getURI(){
|
||||
return 'http://www.novelupdates.com/';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 21600; // 6 hours
|
||||
}
|
||||
|
Reference in New Issue
Block a user