Commit 290edcea authored by Donal McMullan's avatar Donal McMullan
Browse files

Fix for 724 - users created by SSO from Moodle don't get indexed by solr

parent 9bdf98dc
......@@ -188,6 +188,8 @@ class AuthXmlrpc extends Auth {
set_profile_field($user->id, 'lastname', $user->lastname);
set_profile_field($user->id, 'email', $user->email);
handle_event('createuser', $user);
} elseif ($update) {
if ($user->firstname != $remoteuser->firstname) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment