mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 02:47:30 +02:00
bridges: Remove unused functions and update scopes
Many bridges implemented getDescription() which is only applicable for bridges extending RSSExpander. Functions that are not part of the abstract class or interface should be in private scope for better readability.
This commit is contained in:
parent
f99f4d23ac
commit
1d53b70272
34 changed files with 87 additions and 145 deletions
|
@ -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-05-21";
|
||||
$this->update = "2016-08-06";
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
|
@ -50,9 +50,6 @@ class NovelUpdatesBridge extends BridgeAbstract{
|
|||
public function getURI(){
|
||||
return 'http://www.novelupdates.com/';
|
||||
}
|
||||
public function getDescription(){
|
||||
return "Novel Updates - Directory of Translated Novels";
|
||||
}
|
||||
public function getCacheDuration(){
|
||||
return 21600; // 6 hours
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue