Merge branch 'MDL-46761_26' of git://github.com/timhunt/moodle into MOODLE_26_STABLE

This commit is contained in:
Marina Glancy
2014-09-08 13:50:27 +08:00
+2 -4
View File
@@ -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;