diff --git a/html/ops/manage_consent_types.php b/html/ops/manage_consent_types.php index 78f9d17405..0bb2a2145a 100644 --- a/html/ops/manage_consent_types.php +++ b/html/ops/manage_consent_types.php @@ -20,17 +20,6 @@ require_once('../inc/util_ops.inc'); -// This function deletes a row from consent_type table. -function mct_delete() { - $ctid = post_int("consent_type_id"); - $consent_type = BoincConsentType::lookup("id = $ctid"); - if ($consent_type) { - $myname = $consent_type->shortname; - $consent_type->delete_aux("id = $ctid"); - echo "