Skip to content

Commit

Permalink
chore: removed duplicate cache clears
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Nov 25, 2024
1 parent 247908b commit 78e3ea1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions classes/ColdTrick/OpenSearch/Di/IndexingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,8 @@ protected function processBulkIndexEntities(array $entities): void {
*/
protected function clearCaches(): void {
_elgg_services()->accessCache->clear();
_elgg_services()->dataCache->clear();
_elgg_services()->entityCache->clear();
_elgg_services()->sessionCache->clear();
_elgg_services()->metadataCache->clear();
_elgg_services()->queryCache->clear();
}
}

0 comments on commit 78e3ea1

Please sign in to comment.