mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-28 05:54:19 +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:
parent
0998cbde9d
commit
5ccde61a19
2 changed files with 7 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue