mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-76842 auth_lti: don't update the user after membership creation
This isn't required and generates excess events. The only thing update does, other than update the user fields, is to update the picture, but in this case, that's unset in membership-based auths anyway, so it's entirely safe to remove this.
This commit is contained in:
parent
dd507afe4b
commit
3208e7f182
@ -199,7 +199,6 @@ class auth_plugin_lti extends \auth_plugin_base {
|
||||
}
|
||||
}
|
||||
$user = $this->create_new_account($member, $iss);
|
||||
$this->update_user_account($user, $member, $iss);
|
||||
return \core_user::get_user($user->id);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user