MDL-44316 core_tag: changed the API to accept a contextid and component
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ function useredit_update_trackforums($user, $usernew) {
|
||||
* @param array $interests
|
||||
*/
|
||||
function useredit_update_interests($user, $interests) {
|
||||
tag_set('user', $user->id, $interests);
|
||||
tag_set('user', $user->id, $interests, 'core', context_user::instance($user->id)->id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user