mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 22:43:19 +00:00
Merge branch 'master' into PHRAS-3620-admin-subview-bad-path
This commit is contained in:
@@ -2159,8 +2159,12 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
|
||||
|
||||
$this->app['filesystem']->remove($ftodel);
|
||||
|
||||
// delete cache of subdefs
|
||||
$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));
|
||||
|
||||
return array_keys($ftodel);
|
||||
|
Reference in New Issue
Block a user