You are here

function regcode_admin_delete in Registration codes 6

Delete a rule

1 call to regcode_admin_delete()
regcode_admin_delete_confirm in ./regcode.admin.php
Page callback for reg code deletion.

File

./regcode.admin.php, line 409
Functions and pages needed for the administration interface for the regcode module.

Code

function regcode_admin_delete($rid) {
  db_query('DELETE FROM {regcode} WHERE rid = %d', $rid);
}