add_system_message(_("Delete failed"), 'error'); forward($forward_to); } else { $delete_failed = false; foreach ($ids as $id) { $user = $TeKe->user->getUserById($id); if (!$user->delete()) { $delete_failed = true; } } if ($delete_failed) { $TeKe->add_system_message(_("At least one of the deletions failed."), 'error'); forward($forward_to); } } $TeKe->add_system_message(_("Deleted")); } else { //$TeKe->add_system_message(_("No action")); } forward($forward_to); ?>