You are here

function regcode_og_delete_rule in Registration codes 6

Same name and namespace in other branches
  1. 6.2 regcode_og/regcode_og.module \regcode_og_delete_rule()

Delete a rule

1 call to regcode_og_delete_rule()
regcode_og_delete_rule_confirm in regcode_og/regcode_og.module
Page callback for role-rule deletion.

File

regcode_og/regcode_og.module, line 63

Code

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