mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-08 09:36:39 +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:
@@ -7,7 +7,7 @@ class NextgovBridge extends BridgeAbstract {
|
||||
$this->name = $this->getName();
|
||||
$this->uri = $this->getURI();
|
||||
$this->description = 'USA Federal technology news, best practices, and web 2.0 tools.';
|
||||
$this->update = '2016-07-20';
|
||||
$this->update = '2016-08-06';
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
@@ -103,8 +103,4 @@ class NextgovBridge extends BridgeAbstract {
|
||||
public function getURI() {
|
||||
return 'https://www.nextgov.com/';
|
||||
}
|
||||
|
||||
public function getCacheDuration() {
|
||||
return 3600; //1 hour
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user