} elseif ($this->name == 'refdepths') {
// Referal levels
$GLOBALS['cache_array']['refdepths'][$k][$data['id']] = $v;
+ } elseif ($this->name == 'refsystem') {
+ // Referal system
+ $GLOBALS['cache_array']['refsystem'][$k][$data['id']] = $v;
} elseif ($this->name == 'revision') {
// Revision data
$GLOBALS['cache_array']['revision'][$k] = $v;
}
} else {
// Finialize the cache and close it
- $this->finialize();
+ $this->finalize();
// Remove cache
$this->removeCacheFile(true);