mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
fix DB collection cache (#4130)
This commit is contained in:
@@ -74,4 +74,10 @@ class ArrayCacheCollectionRepository implements CollectionRepository
|
||||
unset($this->collectionCache[$collection->getCollectionId()]);
|
||||
}
|
||||
}
|
||||
|
||||
public function clearCache()
|
||||
{
|
||||
$this->collectionCache = null;
|
||||
$this->collectionRepository->clearCache();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user