function qcollection_update in Quiz 6.6
Implementation of hook_update().
File
- includes/
qcollection/ qcollection.module, line 241 - The main file for qcollection.
Code
function qcollection_update($node) {
// QCollection node vid (revision) was updated.
if ($node->revision) {
// Create new qcollection-question relation entries in the quiz_node_relationship table.
quiz_update_quiz_question_relationship($node->old_vid, $node->vid, $node->nid);
}
}