habitat.install in Habitat 7
File
habitat.installView 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
Name | Description |
---|---|
habitat_uninstall |