Commit 9a7bf75d authored by Nitish Bezzala's avatar Nitish Bezzala Committed by Son Nguyen

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 bd33b9c8
......@@ -277,6 +277,10 @@ class Institution {
$this->addUserAsMember($user);
}
db_commit();
foreach ($users as $user) {
remove_user_sessions($user->id);
}
}
public function addRequestFromUser($user, $studentid = null) {
......
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