To avoid:
1) Bulk deleting all users - by checking if you
are deleting yourself.
2) Bulk deleting all the site admins - which can happen if you are an
institutional admin and the site admin(s) are in the same institution
behatnotneeded
Change-Id: I4c33d9e54f14e688897275066d2ee128557d4465
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 2bac8857760b9b1aaa7b98ee9d869bf83e854e9f)
Reviewed: https:/ /reviews. mahara. org/7171 /git.mahara. org/mahara/ mahara/ commit/ 07788736aac7ac4 5f47af71b8f4c64 1fdcbd3c80
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE
commit 07788736aac7ac4 5f47af71b8f4c64 1fdcbd3c80
Author: Robert Lyon <email address hidden>
Date: Wed Sep 7 16:14:33 2016 +1200
Bug 1574941: Adding bulk delete validation
To avoid:
1) Bulk deleting all users - by checking if you
are deleting yourself.
2) Bulk deleting all the site admins - which can happen if you are an
institutional admin and the site admin(s) are in the same institution
behatnotneeded
Change-Id: I4c33d9e54f14e6 88897275066d2ee 128557d4465 aaa7b98ee9d869b f83e854e9f)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 2bac8857760b9b1