From 3843d2745ea241f5b9ff08a8982577085ed5f60b Mon Sep 17 00:00:00 2001 From: tjhunt Date: Tue, 9 Sep 2008 08:35:38 +0000 Subject: [PATCH] Whitespace and comment improvements. --- lib/questionlib.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/questionlib.php b/lib/questionlib.php index 86d3f04a91..30bc1744f2 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -162,7 +162,7 @@ require_once("$CFG->dirroot/question/type/questiontype.php"); // Load the questiontype.php file for each question type // These files in turn call question_register_questiontype() // with a new instance of each qtype class. -$qtypenames= get_list_of_plugins('question/type'); +$qtypenames = get_list_of_plugins('question/type'); foreach($qtypenames as $qtypename) { // Instanciates all plug-in question types $qtypefilepath= "$CFG->dirroot/question/type/$qtypename/questiontype.php"; @@ -1681,8 +1681,9 @@ function question_apply_penalty_and_timelimit(&$question, &$state, $attempt, $cm /** * Print the icon for the question type * -* @param object $question The question object for which the icon is required -* @param boolean $return If true the functions returns the link as a string +* @param object $question The question object for which the icon is required +* only $question->qtype is used. +* @param boolean $return If true the functions returns the link as a string */ function print_question_icon($question, $return = false) { global $QTYPES, $CFG; -- 2.39.5