You are here

function faq_ask_install in FAQ_Ask 6.2

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

Implementation of hook_install().

File

./faq_ask.install, line 62
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_install() {
  $result = drupal_install_schema('faq_ask');
  if (count($result) > 0) {
    drupal_set_message(st('faq_ask module installed.'));
  }
  else {
    drupal_set_message(st('faq_ask table creation failed. Please "uninstall" the module and retry.'));
  }
}