diff --git a/classes/CSVExport.php b/classes/CSVExport.php index 42c7591..5a3fbb5 100644 --- a/classes/CSVExport.php +++ b/classes/CSVExport.php @@ -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(); } }