You are here

function pmticket_uninstall in Drupal PM (Project Management) 7

Same name and namespace in other branches
  1. 8 pmticket/pmticket.install \pmticket_uninstall()
  2. 7.3 pmticket/pmticket.install \pmticket_uninstall()
  3. 7.2 pmticket/pmticket.install \pmticket_uninstall()

Implements hook_uninstall().

File

pmticket/pmticket.install, line 183
Installation functions for the Project Management project module

Code

function pmticket_uninstall() {
  drupal_uninstall_schema('pmticket');
  db_delete('pmattribute')
    ->condition('domain', array(
    'Ticket status',
    'Ticket status search',
    'Ticket category',
    'Ticket category search',
    'Ticket priority',
    'Ticket priority search',
  ), 'IN')
    ->execute();
}