diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 043c5c9bb1d5c..5e6099fb25fd2 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1027,7 +1027,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 ''; }