Commit b2369428 authored by Nitish Bezzala's avatar Nitish Bezzala Committed by Gerrit Code Review
Browse files

Errors when adding new institution members (bug 1046114)



Once the members have been added and the change has been commited
to the database, logout each user who has been added.

Change-Id: I732c7fcbb5ea5913c5e3def8a7a3950c5e83e554
Signed-off-by: default avatarNitish Bezzala <nbezzala@yahoo.com>
parent a5af1aa2
......@@ -274,6 +274,10 @@ class Institution {
$this->addUserAsMember($user);
}
db_commit();
foreach ($users as $user) {
remove_user_sessions($user->id);
}
}
public function addRequestFromUser($user, $studentid = null) {
......
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