You are here

function regcode_delete_action in Registration codes 7

Same name and namespace in other branches
  1. 8 regcode.module \regcode_delete_action()
  2. 6.2 regcode.module \regcode_delete_action()
  3. 7.2 regcode.module \regcode_delete_action()

Regcode delete action.

File

./regcode.module, line 663
Main functionality and hooks of regcode module.

Code

function regcode_delete_action(&$object, $context = array()) {
  db_delete('regcode')
    ->condition('rid', $object->rid)
    ->execute();
}