mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-20 15:22:17 +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:
@@ -5,8 +5,8 @@ class EstCeQuonMetEnProdBridge extends BridgeAbstract {
|
||||
$this->maintainer = 'ORelio';
|
||||
$this->name = $this->getName();
|
||||
$this->uri = $this->getURI();
|
||||
$this->description = $this->getDescription();
|
||||
$this->update = "02/07/2016";
|
||||
$this->description = 'Should we put a website in production today? (French)';
|
||||
$this->update = "2016-08-06";
|
||||
}
|
||||
|
||||
public function collectData(array $param) {
|
||||
@@ -45,10 +45,6 @@ class EstCeQuonMetEnProdBridge extends BridgeAbstract {
|
||||
return 'https://www.estcequonmetenprodaujourdhui.info/';
|
||||
}
|
||||
|
||||
public function getDescription() {
|
||||
return 'Should we put a website in production today? (French)';
|
||||
}
|
||||
|
||||
public function getCacheDuration() {
|
||||
return 21600; // 6 hours
|
||||
}
|
||||
|
Reference in New Issue
Block a user