Commit 88c044ec authored by Nigel McNie's avatar Nigel McNie
Browse files

Implement deleting users on the user edit page.

Not sure quite how I missed this before.
parent 1fcfdacd
......@@ -298,6 +298,13 @@ $deleteform = pieform(array(
function edituser_delete_submit(Pieform $form, $values) {
global $SESSION;
$SESSION->add_ok_msg(get_string('userdeletedsuccessfully', 'admin'));
// Institution settings form
$elements = array(
......@@ -307,6 +307,7 @@ $string['unsuspenduser'] = 'Unsuspend User';
$string['thisuserissuspended'] = 'This user has been suspended';
$string['suspendedby'] = 'This user has been suspended by %s';
$string['deleteuser'] = 'Delete User';
$string['userdeletedsuccessfully'] = 'User deleted successfully';
$string['confirmdeleteuser'] = 'Are you sure you want to delete this user?';
$string['filequota'] = 'File quota (MB)';
$string['filequotadescription'] = 'Total storage available in the user\'s files area.';
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