mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-32508 navigation: show empty sections
This commit is contained in:
parent
243b7003e3
commit
fe221dd583
@ -934,7 +934,7 @@ class global_navigation extends navigation_node {
|
|||||||
/** @var array An array for containing root navigation nodes */
|
/** @var array An array for containing root navigation nodes */
|
||||||
protected $rootnodes = array();
|
protected $rootnodes = array();
|
||||||
/** @var bool A switch for whether to show empty sections in the navigation */
|
/** @var bool A switch for whether to show empty sections in the navigation */
|
||||||
protected $showemptysections = false;
|
protected $showemptysections = true;
|
||||||
/** @var bool A switch for whether courses should be shown within categories on the navigation. */
|
/** @var bool A switch for whether courses should be shown within categories on the navigation. */
|
||||||
protected $showcategories = null;
|
protected $showcategories = null;
|
||||||
/** @var array An array of stdClasses for users that the navigation is extended for */
|
/** @var array An array of stdClasses for users that the navigation is extended for */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user