You are here

function og_notifications_uninstall in Organic groups 5.3

Same name and namespace in other branches
  1. 5.8 og_notifications/og_notifications.install \og_notifications_uninstall()
  2. 6.2 modules/og_notifications/og_notifications.install \og_notifications_uninstall()
  3. 6 modules/og_notifications/og_notifications.install \og_notifications_uninstall()

Implementation of hook_uninstall().

File

og_notifications/og_notifications.install, line 114

Code

function og_notifications_uninstall() {
  db_query('DROP TABLE {og_notifications}');
  variable_del('og_notifications_autosubscribe');
  variable_del('og_notifications_content_types');

  // @TODO: Clear any queued messages in notifications?
  drupal_set_message(t('Organic groups notifications module uninstallation script complete.'));
}