mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Coding standards
This commit is contained in:
@@ -1935,16 +1935,16 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
public function get_data_from_cache($option = null)
|
||||
{
|
||||
\cache_databox::refresh($this->get_sbas_id());
|
||||
|
||||
|
||||
$databox = $this->get_databox();
|
||||
|
||||
|
||||
return $databox->get_data_from_cache($this->get_cache_key($option));
|
||||
}
|
||||
|
||||
public function set_data_to_cache($value, $option = null, $duration = 0)
|
||||
{
|
||||
$databox = $this->get_databox();
|
||||
|
||||
|
||||
return $databox->set_data_to_cache($value, $this->get_cache_key($option), $duration);
|
||||
}
|
||||
|
||||
@@ -1962,7 +1962,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
break;
|
||||
}
|
||||
$databox = $this->get_databox();
|
||||
|
||||
|
||||
\cache_databox::update($this->get_sbas_id(), 'record', $this->get_record_id());
|
||||
|
||||
return $databox->delete_data_from_cache($this->get_cache_key($option));
|
||||
|
Reference in New Issue
Block a user