You are here

function og_notifications_uninstall in Organic groups 6

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

Implementation of hook_uninstall().

File

modules/og_notifications/og_notifications.install, line 98

Code

function og_notifications_uninstall() {
  drupal_uninstall_schema('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.'));
}