mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-28 18:40:15 +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 CopieDoubleBridge extends BridgeAbstract{
|
||||
$this->name = "CopieDouble";
|
||||
$this->uri = "http://www.copie-double.com/";
|
||||
$this->description = "CopieDouble";
|
||||
$this->update = "12/12/2013";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
}
|
||||
|
||||
@@ -50,13 +50,7 @@ class CopieDoubleBridge extends BridgeAbstract{
|
||||
return 'http://www.copie-double.com';
|
||||
}
|
||||
|
||||
public function getDescription(){
|
||||
return 'CopieDouble via rss-bridge';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 14400; // 4 hours
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user