1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-31 05:40:24 +02:00

[FileCache] Rename 'prepare' to 'setParameters'

This is a cosmetic change to use the same naming convention for
all methods.
This commit is contained in:
logmanoriginal
2016-10-08 15:04:14 +02:00
parent 0998cbde9d
commit 5ccde61a19
2 changed files with 7 additions and 3 deletions

View File

@@ -138,7 +138,7 @@ abstract class BridgeAbstract implements BridgeInterface {
*/
public function setDatas(array $inputs){
if(!is_null($this->cache)){
$this->cache->prepare($inputs);
$this->cache->setParameters($inputs);
$time = $this->cache->getTime();
if($time !== false
&& (time() - static::CACHE_TIMEOUT < $time)