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:
logmanoriginal 2016-08-06 16:17:58 +02:00
parent 1d53b70272
commit 5ad157d2fd
28 changed files with 20 additions and 130 deletions

View file

@ -7,7 +7,7 @@ class ZDNetBridge extends BridgeAbstract {
$this->name = $this->getName();
$this->uri = $this->getURI();
$this->description = 'Technology News, Analysis, Comments and Product Reviews for IT Professionals.';
$this->update = '2016-07-20';
$this->update = '2016-08-06';
$this->parameters[] =
// http://www.zdnet.com/zdnet.opml
@ -310,8 +310,4 @@ class ZDNetBridge extends BridgeAbstract {
public function getURI() {
return 'http://www.zdnet.com/';
}
public function getCacheDuration() {
return 3600; //1 hour
}
}