You are here

function message_uninstall in Message 7

Same name and namespace in other branches
  1. 8 message.install \message_uninstall()
  2. 6 message.install \message_uninstall()

Implements hook_uninstall().

File

./message.install, line 45
Install, update, and uninstall functions for the message module.

Code

function message_uninstall() {
  $instance = field_info_instance('message_type', 'message_text', 'message_type');
  field_delete_instance($instance);
  field_delete_field('message_text');
  variable_del('message_delete_cron_limit');
  variable_del('message_purge_enable');
  variable_del('message_purge_quota');
  variable_del('message_purge_days');
  variable_del('message_delete_on_entity_delete');
}