mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Fix databox cache update
This commit is contained in:
5
lib/classes/cache/databox.class.php
vendored
5
lib/classes/cache/databox.class.php
vendored
@@ -108,11 +108,6 @@ class cache_databox
|
|||||||
$record = new \record_adapter($sbas_id, $row['value']);
|
$record = new \record_adapter($sbas_id, $row['value']);
|
||||||
$record->get_caption()->delete_data_from_cache();
|
$record->get_caption()->delete_data_from_cache();
|
||||||
|
|
||||||
foreach ($record->get_caption()->get_fields() as $field)
|
|
||||||
{
|
|
||||||
$field->delete_data_from_cache();
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach($record->get_subdefs() as $subdef)
|
foreach($record->get_subdefs() as $subdef)
|
||||||
{
|
{
|
||||||
$subdef->delete_data_from_cache();
|
$subdef->delete_data_from_cache();
|
||||||
|
Reference in New Issue
Block a user