function datereminder_uninstall in Date Reminder 6.2
Same name and namespace in other branches
- 6 datereminder.install \datereminder_uninstall()
- 7 datereminder.install \datereminder_uninstall()
Implements hook_uninstall().
File
- ./
datereminder.install, line 19 - Stuff Druapl needs to install this module.
Code
function datereminder_uninstall() {
$ret = drupal_uninstall_schema('datereminder');
content_notify('uninstall', 'datereminder');
// Probably could do this by getting a list of all content types.
$variables = db_query("SELECT name FROM {variable} WHERE name LIKE 'datereminder%%'");
while ($variable = db_fetch_object($variables)) {
variable_del($variable->name);
}
return $ret;
}