function answers_update in Answers 5.2
File
- ./
answers.module, line 399 - Enables the creation of question nodes that can be answered by posting answer nodes.
Code
function answers_update($node) {
if ($node->revision) {
answers_insert($node);
}
else {
db_query("UPDATE {quests} SET notifyme = '%d', answeranon = %d WHERE vid = %d", $node->notifyme, $node->answeranon, $node->vid);
}
}