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 22, 2024
1 parent c7bc7d0 commit c1a3076
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions classes/CSVExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,9 +396,8 @@ protected function complete(): 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 c1a3076

Please sign in to comment.