MDL-44316 core_tag: changed the API to accept a contextid and component

This commit is contained in:
Mark Nelson
2014-03-22 13:50:08 -07:00
parent 8dfc4d9c58
commit cc033d48b5
24 changed files with 428 additions and 68 deletions
+1 -1
View File
@@ -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);
}
/**