Example #1
0
function delUser($username)
{
	if (!isAdmin)
		return ucf(i18n("not enough rights to delete user"));

	$user = new mUser();
	$user->setByUsername($username);
	return $user->remove();
}