Skip to content

Commit

Permalink
Merge branch 'MDL-69097-master' of https://github.com/inigozendegi/mo…
Browse files Browse the repository at this point in the history
  • Loading branch information
sarjona committed Mar 3, 2021
2 parents 2ad7766 + df9eefa commit 9778637
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mod/forum/classes/local/renderers/discussion_list.php
Expand Up @@ -186,9 +186,9 @@ public function render(
'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(),
Expand Down
8 changes: 4 additions & 4 deletions mod/forum/view.php
Expand Up @@ -179,9 +179,9 @@
$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(),
Expand All @@ -196,9 +196,9 @@
$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(),
Expand Down

0 comments on commit 9778637

Please sign in to comment.