You are here

function pmorganization_uninstall in Drupal PM (Project Management) 7

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

Implement hook_uninstall().

File

pmorganization/pmorganization.install, line 313

Code

function pmorganization_uninstall() {
  drupal_uninstall_schema('pmorganization');
  db_delete('pmattribute')
    ->condition('domain', array(
    'Price mode',
    'Currency',
    'Country',
  ), 'IN')
    ->execute();
}