Skip to content

Commit

Permalink
fixed: correctly clear metadata cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Jan 9, 2025
1 parent a59617e commit f95144a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/CSVExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ protected function complete(): void {
protected function clearCaches(): void {
_elgg_services()->accessCache->clear();
_elgg_services()->entityCache->clear();
_elgg_services()->metadataCache->clear();
_elgg_services()->metadataCache->clearAll();
_elgg_services()->queryCache->clear();
}
}

0 comments on commit f95144a

Please sign in to comment.