You are here

habitat.install in Habitat 7

File

habitat.install
View source
<?php

function habitat_uninstall() {
  $variables = db_select('variable', 'v')
    ->fields('v', array(
    'name',
  ))
    ->condition('name', db_like("habitat_") . '%', 'LIKE')
    ->execute()
    ->fetchCol();
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}

Functions

Namesort descending Description
habitat_uninstall