Skip to content
Snippets Groups Projects
Commit aef1a70f authored by falcon's avatar falcon
Browse files

#652208 reported by biocomp.pat: Comment trouble...

parent 7d53d3c9
No related branches found
No related tags found
No related merge requests found
......@@ -7,28 +7,6 @@
*/
/**
* Menu callback. Prints a listing of containers that reference the question node nodes.
*
* @param $qid
* ID of question to look up
* @return
* String containing the markup.
*/
function quiz_question_references($node) {
$parents = _quiz_question_parents($node);
if (empty($parents)) {
return '<div>No references.</div>';
} else {
$output = '<div>';
foreach ($parents as $parent)
$output .= node_view($parent, true);
$output .= '</div>';
return $output;
}
}
/**
* @param $question_nid
*
......
......@@ -339,7 +339,7 @@ function quiz_install() {
$temp_array['toggle_node_info_quiz'] = 0;
variable_set('theme_settings', $temp_array);
// Default the comment settings to disabled.
$temp_array = variable_set('comment_quiz', '0');
variable_set('comment_quiz', '0');
drupal_set_message(t('Quiz module has been enabled. To !create_a_quiz go to Content Management -> Create Content -> Quiz.', array('!create_a_quiz' => l(t('create a quiz'), 'node/add/quiz'))));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment