fix DB collection cache (#4130)

This commit is contained in:
Aina Sitraka
2022-09-13 19:05:46 +03:00
committed by GitHub
parent a3f811546f
commit df9642ed2f
4 changed files with 19 additions and 4 deletions

View File

@@ -74,4 +74,10 @@ class ArrayCacheCollectionRepository implements CollectionRepository
unset($this->collectionCache[$collection->getCollectionId()]);
}
}
public function clearCache()
{
$this->collectionCache = null;
$this->collectionRepository->clearCache();
}
}