You are here

function regcode_roles_delete_rule in Registration codes 6

Same name and namespace in other branches
  1. 6.2 regcode_roles/regcode_roles.module \regcode_roles_delete_rule()
  2. 7.2 regcode_roles/regcode_roles.module \regcode_roles_delete_rule()
  3. 7 regcode_roles/regcode_roles.module \regcode_roles_delete_rule()

Delete a rule

1 call to regcode_roles_delete_rule()
regcode_admin_delete_confirm in regcode_roles/regcode_roles.module
Page callback for role-rule deletion.

File

regcode_roles/regcode_roles.module, line 64

Code

function regcode_roles_delete_rule($rid) {
  db_query('DELETE FROM {regcode_roles} WHERE id = %d', $rid);
}