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:
Jake Dallimore
2023-06-08 09:39:09 +08:00
parent 1858e29d23
commit b097d38fb3
-1
View File
@@ -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);
}
}