Merge branch 'master' into PHRAS-3620-admin-subview-bad-path

This commit is contained in:
Nicolas Maillat
2022-01-12 10:03:21 +01:00
committed by GitHub
19 changed files with 44 additions and 24 deletions

View File

@@ -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);