mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 01:55:21 +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
|
@ -11,7 +11,7 @@ class PinterestBridge extends BridgeAbstract{
|
|||
$this->name = "Pinterest Bridge";
|
||||
$this->uri = "http://www.pinterest.com/";
|
||||
$this->description = "Returns the newest images on a board";
|
||||
$this->update = "2014-05-25";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
$this->parameters["By username and board"] =
|
||||
'[
|
||||
|
@ -114,8 +114,4 @@ class PinterestBridge extends BridgeAbstract{
|
|||
public function getURI(){
|
||||
return 'http://www.pinterest.com';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 3600;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue