mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Fix #166 : empty cache on subdef generation
This commit is contained in:
@@ -1669,14 +1669,11 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
|||||||
echo $e->getMessage() . "\n";
|
echo $e->getMessage() . "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!array_key_exists($subdefname, $record_subdefs))
|
if (array_key_exists($subdefname, $record_subdefs))
|
||||||
{
|
{
|
||||||
continue;
|
$record_subdefs[$subdefname]->delete_data_from_cache();
|
||||||
}
|
}
|
||||||
|
|
||||||
$record_subdefs[$subdefname]->delete_data_from_cache();
|
|
||||||
|
|
||||||
$this->delete_data_from_cache(self::CACHE_SUBDEFS);
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$subdef = $this->get_subdef($subdefname);
|
$subdef = $this->get_subdef($subdefname);
|
||||||
|
Reference in New Issue
Block a user