mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 06:25:33 +02:00
MDL-61937 mod_data: Correct rating export args in privacy
This commit is contained in:
parent
fc5c5306c9
commit
ea80f967b8
@ -294,7 +294,7 @@ class provider implements
|
||||
[$recordobj->id], $recordobj->userid != $user->id);
|
||||
// Export ratings. For records that were not made by this user export only this user's ratings, for own records
|
||||
// export ratings from everybody.
|
||||
\core_rating\privacy\provider::export_area_ratings($user->id, $context, [$recordobj->id], 'entry',
|
||||
\core_rating\privacy\provider::export_area_ratings($user->id, $context, [$recordobj->id], 'mod_data', 'entry',
|
||||
$recordobj->id, $recordobj->userid != $user->id);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user