function faq_ask_uninstall in FAQ_Ask 6.2
Same name and namespace in other branches
- 6 faq_ask.install \faq_ask_uninstall()
- 7 faq_ask.install \faq_ask_uninstall()
Implementation of hook_uninstall().
File
- ./
faq_ask.install, line 98 - 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');
variable_del('faq_ask_notify_asker');
variable_del('faq_ask_notify_asker_simplenews_tid');
variable_del('faq_ask_notify_asker_simplenews_confirm');
variable_del('faq_ask_notify_by_cron');
drupal_set_message(st('faq_ask module uninstalled.'));
}