diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 8bcd9b44e7abf..d4728f236f382 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 ''; }