mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-37574 Remove default link title from navigation items
This commit is contained in:
parent
1918a2452e
commit
2f545feb89
@ -195,8 +195,6 @@ class navigation_node implements renderable {
|
||||
if ($this->text === null) {
|
||||
throw new coding_exception('You must set the text for the node when you create it.');
|
||||
}
|
||||
// Default the title to the text
|
||||
$this->title = $this->text;
|
||||
// Instantiate a new navigation node collection for this nodes children
|
||||
$this->children = new navigation_node_collection();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user