You are here

function merci_delete_record in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.2

Same name and namespace in other branches
  1. 6.2 includes/database.inc \merci_delete_record()

@todo Please document this function.

See also

http://drupal.org/node/1354

3 calls to merci_delete_record()
merci_delete in ./merci.module
Implementation of hook_delete().
merci_node_delete in ./merci.module
merci_node_revision_delete in ./merci.module

File

includes/database.inc, line 186
MERCI - Managed Equipment Reservation Checkout and Inventory

Code

function merci_delete_record($table, &$object, $key) {
  return db_delete($table)
    ->condition($key, $object->{$key})
    ->execute();
}