Merge branch 'MDL-69097-311' of https://github.com/inigozendegi/moodle into MOODLE_311_STABLE

This commit is contained in:
Sara Arjona
2021-03-03 09:06:52 +01:00
2 changed files with 6 additions and 6 deletions
@@ -186,9 +186,9 @@ class discussion_list {
'forum' => (array) $forumexporter->export($this->renderer),
'contextid' => $forum->get_context()->id,
'cmid' => $cm->id,
'name' => $forum->get_name(),
'name' => format_string($forum->get_name()),
'courseid' => $course->id,
'coursename' => $course->shortname,
'coursename' => format_string($course->shortname),
'experimentaldisplaymode' => $displaymode == FORUM_MODE_NESTED_V2,
'gradingcomponent' => $this->forumgradeitem->get_grading_component_name(),
'gradingcomponentsubtype' => $this->forumgradeitem->get_grading_component_subtype(),
+4 -4
View File
@@ -179,9 +179,9 @@ switch ($forum->get_type()) {
$gradeobj = (object) [
'contextid' => $forum->get_context()->id,
'cmid' => $cmid,
'name' => $forum->get_name(),
'name' => format_string($forum->get_name()),
'courseid' => $course->id,
'coursename' => $course->shortname,
'coursename' => format_string($course->shortname),
'experimentaldisplaymode' => $displaymode == FORUM_MODE_NESTED_V2,
'groupid' => $groupid,
'gradingcomponent' => $forumgradeitem->get_grading_component_name(),
@@ -196,9 +196,9 @@ switch ($forum->get_type()) {
$gradeobj = (object) [
'contextid' => $forum->get_context()->id,
'cmid' => $cmid,
'name' => $forum->get_name(),
'name' => format_string($forum->get_name()),
'courseid' => $course->id,
'coursename' => $course->shortname,
'coursename' => format_string($course->shortname),
'groupid' => $groupid,
'userid' => $USER->id,
'gradingcomponent' => $forumgradeitem->get_grading_component_name(),