MDL-61899 tool_dataprivacy: Fix cibot complains

This commit is contained in:
David Monllao
2018-04-18 18:22:58 +02:00
committed by Eloy Lafuente (stronk7)
parent 0d41df6b5a
commit bb4030ff27
8 changed files with 11 additions and 14 deletions
@@ -107,7 +107,7 @@ class process_data_request_task extends adhoc_task {
// Get the collection of approved_contextlist objects needed for core_privacy data deletion.
$approvedclcollection = api::get_approved_contextlist_collection_for_request($requestpersistent);
// Delete the data
// Delete the data.
$manager = new \core_privacy\manager();
$manager->delete_data_for_user($approvedclcollection);
}