mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-28 22:55:05 +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:
parent
1d53b70272
commit
5ad157d2fd
28 changed files with 20 additions and 130 deletions
|
@ -12,7 +12,7 @@ class GitlabCommitsBridge extends BridgeAbstract{
|
|||
$this->name = 'Gitlab Commits';
|
||||
$this->uri = '';
|
||||
$this->description = 'Returns the commits of a project hosted on a gitlab instance';
|
||||
$this->update = '2016-06-19';
|
||||
$this->update = '2016-08-06';
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
|
@ -87,8 +87,4 @@ class GitlabCommitsBridge extends BridgeAbstract{
|
|||
public function getURI(){
|
||||
return '';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 3600; // one hour
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue