function notifications_content_uninstall in Notifications 6
Same name and namespace in other branches
- 6.4 notifications_content/notifications_content.install \notifications_content_uninstall()
- 6.2 notifications_content/notifications_content.install \notifications_content_uninstall()
- 6.3 notifications_content/notifications_content.install \notifications_content_uninstall()
- 7 notifications_content/notifications_content.install \notifications_content_uninstall()
Implementation of hook_uninstall().
File
- notifications_content/
notifications_content.install, line 15
Code
function notifications_content_uninstall() {
// Delete variables
variable_del('notifications_content_types');
variable_del('notifications_content_per_type');
foreach (array_keys(node_get_types()) as $type) {
variable_del('notifications_content_type_' . $type);
}
drupal_set_message(t('Content notifications uninstallation script complete.'));
}