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
|
@ -7,7 +7,7 @@ class T411Bridge extends BridgeAbstract {
|
|||
$this->name = 'T411';
|
||||
$this->uri = $this->getURI();
|
||||
$this->description = 'Returns the 10 newest torrents with specified search terms <br /> Use url part after "?" mark when using their search engine.';
|
||||
$this->update = '2016-06-25';
|
||||
$this->update = '2016-08-06';
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
|
@ -102,10 +102,5 @@ class T411Bridge extends BridgeAbstract {
|
|||
public function getURI() {
|
||||
return 'https://t411.ch/';
|
||||
}
|
||||
|
||||
public function getCacheDuration() {
|
||||
return 3600; // 1 hour
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue