';
if (!LegacyAuth::user()->isAdmin()) {
include 'includes/html/error-no-perm.inc.php';
} else {
echo '
User "'.$user['username'].'" deleted!');
} else {
print_error('Error deleting user "'.$user['username'].'"!');
}
} else {
print_error('You have requested deletion of the user "'.$user['username'].'". This action can not be reversed.
Click to confirm');
}
}
// FIXME v mysql query should be replaced by authmodule
$userlist = LegacyAuth::get()->getUserlist();
echo '
';
} else {
print_error('Authentication module does not allow user management!');
}//end if
}//end if
echo '
';