mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-23 00:23:10 +02:00
[BridgeAbstract] replace getCacheDuration method by CACHE_TIMEOUT class constant
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -7,6 +7,7 @@ class GooglePlusPostBridge extends BridgeAbstract
|
||||
const MAINTAINER = "Grummfy";
|
||||
const NAME = "Google Plus Post Bridge";
|
||||
const URI = "https://plus.google.com/";
|
||||
const CACHE_TIMEOUT = 600; //10min
|
||||
const DESCRIPTION = "Returns user public post (without API).";
|
||||
|
||||
const PARAMETERS = array( array(
|
||||
@@ -109,9 +110,4 @@ class GooglePlusPostBridge extends BridgeAbstract
|
||||
{
|
||||
return $this->_url ?: self::URI;
|
||||
}
|
||||
|
||||
public function getCacheDuration()
|
||||
{
|
||||
return 1; // 600; // 10 minutes
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user