mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-23 00:23:10 +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:
@@ -10,7 +10,7 @@ class AllocineFRBridge extends BridgeAbstract{
|
||||
$this->name = "Allo Cine : Faux Raccord";
|
||||
$this->uri = "http://www.allocine.fr/video/programme-12284/saison-24580/";
|
||||
$this->description = "Allo Cine : Faux Raccord";
|
||||
$this->update = "07/11/2013";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
}
|
||||
|
||||
@@ -50,8 +50,5 @@ class AllocineFRBridge extends BridgeAbstract{
|
||||
public function getCacheDuration(){
|
||||
return 25200; // 7 hours
|
||||
}
|
||||
public function getDescription(){
|
||||
return "Allo Cine : " . $this->_NOM . " via rss-bridge";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
Reference in New Issue
Block a user