function faq_ask_reassign in FAQ_Ask 6
Same name and namespace in other branches
- 6.2 faq_ask.module \faq_ask_reassign()
- 7 faq_ask.module \faq_ask_reassign()
Reassign the node to the current user and display a message.
1 call to faq_ask_reassign()
- faq_ask_answer in ./
faq_ask.module - This function is called when an expert selects a question to answer. It changes the status option to "published" then goes to the regular FAQ edit function.
File
- ./
faq_ask.module, line 855 - 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_reassign(&$node) {
global $user;
$node->uid = $user->uid;
drupal_set_message(t('This question is being assigned to !user.', array(
'!user' => theme('username', $user),
)));
}