rename $cachable to $cached in setDatas()

This commit is contained in:
Badet Aurélien 2016-11-30 18:31:04 +01:00 committed by GitHub
parent 15d742e938
commit 84fe4f6b40

View File

@ -155,10 +155,10 @@ abstract class BridgeAbstract implements BridgeInterface {
if($time !== false
&& (time() - static::CACHE_TIMEOUT < $time)
&& (!defined('DEBUG') || DEBUG !== true)){
$cachable = array();
$cachable = $this->cache->loadData();
$this->items = $cachable["items"];
$this->extraInfos = $cachable["extraInfos"];
$cached = array();
$cached = $this->cache->loadData();
$this->items = $cached["items"];
$this->extraInfos = $cached["extraInfos"];
return;
}
}