1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 21:30:14 +02:00

bridges: Remove getCacheDuration if default

BridgeAbstract will return 3600 seconds by default, so the function
can be removed from any bridge implementing getCacheDuration
returning the same value.

Documentation updated accordingly.
This commit is contained in:
logmanoriginal
2016-08-06 16:17:58 +02:00
parent 1d53b70272
commit 5ad157d2fd
28 changed files with 20 additions and 130 deletions

View File

@@ -6,7 +6,7 @@ class WeLiveSecurityBridge extends BridgeAbstract {
$this->name = $this->getName();
$this->uri = $this->getURI();
$this->description = 'Returns the newest articles.';
$this->update = '2016-07-19';
$this->update = '2016-08-06';
}
public function collectData(array $param) {
@@ -68,8 +68,4 @@ class WeLiveSecurityBridge extends BridgeAbstract {
public function getURI() {
return 'http://www.welivesecurity.com/';
}
public function getCacheDuration() {
return 3600; //1 hour
}
}