You are here

merci_template.install in MERCI (Manage Equipment Reservations, Checkout and Inventory) 6

merci_template Installer / Uninstaller

File

modules/merci_template/merci_template.install
View source
<?php

/**
 * @file
 * merci_template Installer / Uninstaller
 */

/**
 * Implementation of hook_disable().
 */
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');
}

// merci_template_disable

Functions

Namesort descending Description
merci_template_disable Implementation of hook_disable().