mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Fix cache invalidation on save
This commit is contained in:
@@ -54,7 +54,7 @@ class ArrayCacheCollectionRepository implements CollectionRepository
|
|||||||
$this->collectionRepository->save($collection);
|
$this->collectionRepository->save($collection);
|
||||||
|
|
||||||
if ($this->collectionCache !== null) {
|
if ($this->collectionCache !== null) {
|
||||||
$this->collectionCache[$collection->getCollectionId()] = $collection;
|
$this->collectionCache = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user