mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-16 13:34:11 +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 ThePirateBayBridge extends BridgeAbstract{
|
||||
$this->name = "The Pirate Bay";
|
||||
$this->uri = "https://thepiratebay.org/";
|
||||
$this->description = "Returns results for the keywords. You can put several list of keywords by separating them with a semicolon (e.g. \"one show;another show\")";
|
||||
$this->update = "2015-01-09";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
@@ -88,8 +88,4 @@ class ThePirateBayBridge extends BridgeAbstract{
|
||||
public function getURI(){
|
||||
return 'https://thepiratebay.org/';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 3600; // 1 hour
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user