Commit 4c1cb07b authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Reindex users after changing the institution

parent 849de7b8
...@@ -302,6 +302,7 @@ function edituser_institution_submit(Pieform $form, $values) { ...@@ -302,6 +302,7 @@ function edituser_institution_submit(Pieform $form, $values) {
'institution' => $values['institution'] // ctime, expiry, etc 'institution' => $values['institution'] // ctime, expiry, etc
)); ));
} }
handle_event('updateuser', $user->id);
} else { // Changing settings for an existing institution } else { // Changing settings for an existing institution
$newuser = (object) array( $newuser = (object) array(
'usr' => $userinstitution->usr, 'usr' => $userinstitution->usr,
......
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