mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 05:40:24 +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 BlaguesDeMerdeBridge extends BridgeAbstract{
|
||||
$this->name = "Blagues De Merde";
|
||||
$this->uri = "http://www.blaguesdemerde.fr/";
|
||||
$this->description = "Blagues De Merde";
|
||||
$this->update = "16/10/2013";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
}
|
||||
|
||||
@@ -43,8 +43,5 @@ class BlaguesDeMerdeBridge extends BridgeAbstract{
|
||||
public function getCacheDuration(){
|
||||
return 7200; // 2h hours
|
||||
}
|
||||
public function getDescription(){
|
||||
return "Blagues De Merde via rss-bridge";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user