PHRAS-3584 : clear record cache

This commit is contained in:
jygaulier
2021-12-06 11:21:34 +01:00
parent c210b3471f
commit ab43c083ed

View File

@@ -1747,6 +1747,8 @@ class record_adapter implements RecordInterface, cache_cacheableInterface
);
}
$this->delete_data_from_cache();
$this->dispatch(RecordEvents::STORY_COVER_CHANGED, new StoryCoverChangedEvent($this, $fromChildRecord));
$this->dispatch(PhraseaEvents::RECORD_EDIT, new RecordEdit($this));