You are here

function sms_user_uninstall in SMS Framework 5

Same name and namespace in other branches
  1. 6.2 modules/sms_user/sms_user.install \sms_user_uninstall()
  2. 6 modules/sms_user/sms_user.install \sms_user_uninstall()
  3. 7 modules/sms_user/sms_user.install \sms_user_uninstall()

Implementation of hook_uninstall().

File

modules/sms_user/sms_user.install, line 23

Code

function sms_user_uninstall() {
  if (db_table_exists('sms_user')) {
    db_query('DROP TABLE {sms_user}');
  }
  drupal_set_message(t('SMS User uninstalled successfully.'));
}