mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 20:02:03 +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:
@@ -7,7 +7,7 @@ class HentaiHavenBridge extends BridgeAbstract{
|
||||
$this->name = "Hentai Haven";
|
||||
$this->uri = "http://hentaihaven.org/";
|
||||
$this->description = "Returns releases from Hentai Haven";
|
||||
$this->update = "2015-01-16";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
}
|
||||
|
||||
@@ -29,9 +29,6 @@ class HentaiHavenBridge extends BridgeAbstract{
|
||||
public function getURI(){
|
||||
return '';
|
||||
}
|
||||
public function getDescription(){
|
||||
return "Hentai Haven | Everything Else is Irrelevant";
|
||||
}
|
||||
public function getCacheDuration(){
|
||||
return 21600; // 6 hours
|
||||
}
|
||||
|
Reference in New Issue
Block a user