mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-37762 navbar - fold some long lines in previous patch
This commit is contained in:
parent
23718dade9
commit
823efcedcc
@ -3008,7 +3008,9 @@ class navbar extends navigation_node {
|
||||
if (!$navigationactivenode->mainnavonly) {
|
||||
$items[] = $navigationactivenode;
|
||||
}
|
||||
if (!empty($CFG->navshowcategories) && $navigationactivenode->type === self::TYPE_COURSE && $navigationactivenode->parent->key === 'currentcourse') {
|
||||
if (!empty($CFG->navshowcategories) &&
|
||||
$navigationactivenode->type === self::TYPE_COURSE &&
|
||||
$navigationactivenode->parent->key === 'currentcourse') {
|
||||
$items = array_merge($items, $this->get_course_categories());
|
||||
}
|
||||
$navigationactivenode = $navigationactivenode->parent;
|
||||
@ -3019,7 +3021,9 @@ class navbar extends navigation_node {
|
||||
if (!$navigationactivenode->mainnavonly) {
|
||||
$items[] = $navigationactivenode;
|
||||
}
|
||||
if (!empty($CFG->navshowcategories) && $navigationactivenode->type === self::TYPE_COURSE && $navigationactivenode->parent->key === 'currentcourse') {
|
||||
if (!empty($CFG->navshowcategories) &&
|
||||
$navigationactivenode->type === self::TYPE_COURSE &&
|
||||
$navigationactivenode->parent->key === 'currentcourse') {
|
||||
$items = array_merge($items, $this->get_course_categories());
|
||||
}
|
||||
$navigationactivenode = $navigationactivenode->parent;
|
||||
|
Loading…
x
Reference in New Issue
Block a user