term_merge.install in Term Merge 7
Install, uninstall, and update hooks of the module.
File
term_merge.installView source
<?php
/**
* @file
* Install, uninstall, and update hooks of the module.
*/
/**
* Implements hook_uninstall().
*/
function term_merge_uninstall() {
// Cleaning all variables.
$results = db_select('variable', 'var')
->fields('var', array(
'name',
))
->condition('var.name', db_like('term_merge_') . '%', 'LIKE')
->execute();
foreach ($results as $var) {
variable_del($var->name);
}
}
Functions
Name | Description |
---|---|
term_merge_uninstall | Implements hook_uninstall(). |