mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 06:10:22 +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:
@@ -9,7 +9,7 @@ class InstagramBridge extends BridgeAbstract{
|
||||
$this->name = "Instagram Bridge";
|
||||
$this->uri = "http://instagram.com/";
|
||||
$this->description = "Returns the newest images";
|
||||
$this->update = "2014-05-25";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
@@ -81,8 +81,4 @@ class InstagramBridge extends BridgeAbstract{
|
||||
public function getURI(){
|
||||
return 'http://instagram.com/';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 3600;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user