mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-19 14:52:13 +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 LesJoiesDuCodeBridge extends BridgeAbstract{
|
||||
$this->name = "Les Joies Du Code";
|
||||
$this->uri = "http://lesjoiesducode.fr/";
|
||||
$this->description = "LesJoiesDuCode";
|
||||
$this->update = "04/02/2015";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
}
|
||||
|
||||
@@ -59,8 +59,4 @@ class LesJoiesDuCodeBridge extends BridgeAbstract{
|
||||
public function getCacheDuration(){
|
||||
return 7200; // 2h hours
|
||||
}
|
||||
public function getDescription(){
|
||||
return "Les Joies Du Code via rss-bridge";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user