Remove phraseanet services, update configuration

This commit is contained in:
Romain Neutron
2013-06-11 11:57:43 +02:00
parent 8ecc97e94e
commit 32c2d6154a
99 changed files with 1545 additions and 5049 deletions

View File

@@ -171,7 +171,13 @@ abstract class base implements cache_cacheableInterface
\cache_databox::refresh($this->app, $this->id);
}
return $this->get_cache()->get($this->get_cache_key($option));
$data = $this->get_cache()->get($this->get_cache_key($option));
if (is_object($data) && method_exists($data, 'hydrate')) {
$data->hydrate($this->app);
}
return $data;
}
public function set_data_to_cache($value, $option = null, $duration = 0)