Commit 8a12f778 authored by Lisa Seeto's avatar Lisa Seeto
Browse files

Bug 1908845: Removing the Admin Account from an institution is producing warning

 - set the user->authinstance in removeMember()

Change-Id: I34afd54149936b02b61d65cc036c0a2d4450f576
Signed-off-by: default avatarLisa Seeto <>
parent 746b06f7
......@@ -707,6 +707,10 @@ class Institution {
update_record('usr', $user);
if ($user->id == $USER->id) {
$USER->authinstance = $user->authinstance;
// If this user has a favourites list which is updated by this institution, remove it
// from this institution's control.
Markdown is supported
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