You are here

function faq_ask_uninstall in FAQ_Ask 6

Same name and namespace in other branches
  1. 6.2 faq_ask.install \faq_ask_uninstall()
  2. 7 faq_ask.install \faq_ask_uninstall()

Implementation of hook_uninstall().

File

./faq_ask.install, line 65
This module is an add-on to the FAQ module that allows users with the 'ask question' permission to create a question which will be queued for an 'expert' to answer.

Code

function faq_ask_uninstall() {
  drupal_uninstall_schema('faq_ask');
  variable_del('faq_expert_role');
  variable_del('faq_ask_vocabularies');
  variable_del('faq_ask_title_len');
  variable_del('faq_ask_suggest');
  variable_del('faq_ask_notify');
  variable_del('faq_ask_default_expert');
  variable_del('faq_unanswered_count');
  variable_del('faq_ask_expert_advice');
  variable_del('faq_ask_help_text');
  variable_del('faq_ask_categorize');
  variable_del('faq_ask_expert_own');
  drupal_set_message(t('faq_ask module uninstalled.'));
}