diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 9114225dc9b08..8c7d024ca71e2 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1023,7 +1023,7 @@ public function activity_navigation() { // If the theme implements course index and the current course format uses course index and the current // page layout is not 'frametop' (this layout does not support course index), show no links. - if ($this->page->theme->usescourseindex && $courseformat->uses_course_index() && + if (false && $this->page->theme->usescourseindex && $courseformat->uses_course_index() && $this->page->pagelayout !== 'frametop') { return ''; }