You are here

function merci_template_disable in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6

Implementation of hook_disable().

File

modules/merci_template/merci_template.install, line 12
merci_template Installer / Uninstaller

Code

function merci_template_disable() {

  // Delete all merci_reservation_template nodes
  db_query("DELETE FROM {node} WHERE type = 'merci_reservation_template'");

  // Delete the merci_reservation_template content type
  node_type_delete('merci_reservation_template');
}