mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
fix cache when delete record
This commit is contained in:
@@ -2159,7 +2159,8 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
||||
|
||||
$this->app['filesystem']->remove($ftodel);
|
||||
|
||||
$this->delete_data_from_cache(self::CACHE_SUBDEFS);
|
||||
// delete the corresponding key record_id from the cache
|
||||
$this->delete_data_from_cache();
|
||||
|
||||
$this->dispatch(RecordEvents::DELETED, new DeletedEvent($this));
|
||||
|
||||
|
Reference in New Issue
Block a user