You are here

function faq_ask_update_6100 in FAQ_Ask 7

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

Add default expert to term id 0

File

./faq_ask.install, line 129
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() {
  db_query('INSERT INTO {faq_expert} (uid, tid) VALUES (' . variable_get('faq_ask_default_expert', 1) . ', 0)');
  return t('Added default expert into faq_expert table');
}