[BridgeAbstract] replace getCacheDuration method by CACHE_TIMEOUT class constant

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-09-25 17:04:28 +02:00
parent ad534444fa
commit 235c985901
81 changed files with 84 additions and 332 deletions

View file

@ -121,9 +121,4 @@ class GBAtempBridge extends BridgeAbstract {
);
return 'GBAtemp '.$type.' Bridge';
}
public function getCacheDuration() {
return ($this->filter === 'Forum') ? 300 : 3600; // 5 minutes / 1 hour
}
}