Merge branch 'MDL-86914-501' of https://github.com/sarjona/moodle into MOODLE_501_STABLE

This commit is contained in:
Amaia Anabitarte
2025-10-20 15:57:07 +02:00
@@ -106,14 +106,6 @@ class overview extends \core_courseformat\activityoverviewbase {
);
}
#[\Override]
public function get_completion_overview(): ?overviewitem {
if (has_capability('mod/choice:readresponses', $this->cm->context)) {
return null; // If the user can read responses, we don't show the completion status as it is for the student only.
}
return parent::get_completion_overview();
}
#[\Override]
public function get_extra_overview_items(): array {
return [