MDL-61899 tool_dataprivacy: Fix reference to unexisting method

All credit goes to Marcel Behrmann
This commit is contained in:
David Monllao
2018-04-18 18:15:31 +02:00
committed by Eloy Lafuente (stronk7)
parent 6f094d4940
commit e95f0def95
@@ -109,7 +109,7 @@ class process_data_request_task extends adhoc_task {
// Delete the data
$manager = new \core_privacy\manager();
$manager->delete_user_data($approvedclcollection);
$manager->delete_data_for_user($approvedclcollection);
}
// When the preparation of the metadata finishes, update the request status to awaiting approval.