You are here

function pmproject_uninstall in Drupal PM (Project Management) 7

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

Implements hook_uninstall().

File

pmproject/pmproject.install, line 180
Installation functions for the Project Management project module

Code

function pmproject_uninstall() {
  drupal_uninstall_schema('pmproject');
  db_delete('pmattribute')
    ->condition('domain', array(
    'Project status',
    'Project status search',
    'Project category',
    'Project category search',
    'Project priority',
    'Project priority search',
    'Duration unit',
  ), 'IN')
    ->execute();
}