function faq_ask_install in FAQ_Ask 7
Same name and namespace in other branches
- 6.2 faq_ask.install \faq_ask_install()
- 6 faq_ask.install \faq_ask_install()
Implements hook_install().
File
- ./
faq_ask.install, line 110 - 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() {
/**
* Seems like D7 installs anything in hook_schema before this is called.
* Need no install_shema call
*/
/* $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.'));
}
*/
}