You are here

function notifications_uninstall in Notifications 6.2

Same name and namespace in other branches
  1. 5 notifications.install \notifications_uninstall()
  2. 6.4 notifications.install \notifications_uninstall()
  3. 6 notifications.install \notifications_uninstall()
  4. 6.3 notifications.install \notifications_uninstall()
  5. 7 notifications.install \notifications_uninstall()

Implementation of hook_uninstall().

File

./notifications.install, line 223

Code

function notifications_uninstall() {
  drupal_uninstall_schema('notifications');
  foreach (array(
    'events',
    'send_intervals',
    'sender',
    'sendself',
    'send_immediate',
  ) as $name) {
    variable_del("notifications_{$name}");
  }
}