You are here

function faq_ask_update_6100 in FAQ_Ask 6

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

Implementation of hook_update_N().

File

./faq_ask.install, line 54
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_update_6100() {
  $ret = array();
  $ret[] = update_sql('INSERT INTO {faq_expert} (uid, tid) VALUES (' . variable_get('faq_ask_default_expert', 1) . ', 0)');
  return $ret;
}