MDL-31528 navigation: Fixed up missing break and optimised category.php
This commit is contained in:
@@ -1325,6 +1325,7 @@ class global_navigation extends navigation_node {
|
||||
if ($issite) {
|
||||
// The users profile information etc is already loaded
|
||||
// for the front page.
|
||||
break;
|
||||
}
|
||||
$course = $this->page->course;
|
||||
if ($showcategories && !$ismycourse) {
|
||||
|
||||
Reference in New Issue
Block a user