Bug 1304146: Delete remote user when delete institution
If a user has manually assigned a remote authorization method
from an institution and he is not a member of that institution
when we try to delete the institution there will still be
a record in auth_remote_user table.
When the institution is deleted, so is the authorization method,
and so should be the remote user record.
behatnotneeded
Change-Id: I91dcadc5fbfddc8941c60adc78f304996591b3b8
(cherry picked from commit 933fc2666becd5b251610e1b3ffcf6a952e9c368)
Reviewed: https:/ /reviews. mahara. org/7080 /git.mahara. org/mahara/ mahara/ commit/ 3763b1e946a1af4 c388f6873c87f16 d3af65eb1a
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE
commit 3763b1e946a1af4 c388f6873c87f16 d3af65eb1a
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Oct 5 11:45:21 2016 +1300
Bug 1304146: Delete remote user when delete institution
If a user has manually assigned a remote authorization method
from an institution and he is not a member of that institution
when we try to delete the institution there will still be
a record in auth_remote_user table.
When the institution is deleted, so is the authorization method,
and so should be the remote user record.
behatnotneeded
Change-Id: I91dcadc5fbfddc 8941c60adc78f30 4996591b3b8 251610e1b3ffcf6 a952e9c368)
(cherry picked from commit 933fc2666becd5b