From 9f00a10ef2c58a00730cced136000dc66db79e74 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Sun, 7 Sep 2014 11:37:43 +0100 Subject: [PATCH] MDL-46761 fix PHPdocs on question_usage_by_activity::get_total_mark Thanks to Tony Gardner-Medwin for spotting this. --- question/engine/questionusage.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/question/engine/questionusage.php b/question/engine/questionusage.php index b4a1a29527e..c5ee03daa49 100644 --- a/question/engine/questionusage.php +++ b/question/engine/questionusage.php @@ -310,10 +310,8 @@ class question_usage_by_activity { } /** - * Get the current mark awarded for the attempt at a question. - * @param int $slot the number used to identify this question within this usage. - * @return number|null The current mark for this question, or null if one has - * not been assigned yet. + * Get the total mark for all questions in this usage. + * @return number The sum of marks of all the question_attempts in this usage. */ public function get_total_mark() { $mark = 0;