mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Add unmount method on databox repositories to invalidate cache on unmount
This commit is contained in:
@@ -870,6 +870,7 @@ class databox extends base implements ThumbnailedElement
|
||||
$stmt->execute([':sbas_id' => $this->id]);
|
||||
$stmt->closeCursor();
|
||||
|
||||
$this->databoxRepository->unmount($this);
|
||||
$this->get_appbox()->delete_data_from_cache(appbox::CACHE_LIST_BASES);
|
||||
|
||||
$this->app['dispatcher']->dispatch(
|
||||
|
Reference in New Issue
Block a user