mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Fixed typo
This commit is contained in:
parent
7700027f40
commit
1911105fa1
@ -1216,7 +1216,7 @@ function role_assign($roleid, $userid, $groupid, $contextid, $timestart=0, $time
|
||||
|
||||
/// Make sure the user is subscribed to any appropriate forums in this context
|
||||
require_once($CFG->dirroot.'/mod/forum/lib.php');
|
||||
forum_add_user_default_subscriptions($user->id, $context);
|
||||
forum_add_user_default_subscriptions($userid, $context);
|
||||
}
|
||||
|
||||
return $success;
|
||||
|
Loading…
x
Reference in New Issue
Block a user