MDL-37574 Remove default link title from navigation items

This commit is contained in:
Andrew Robert Nicols 2013-01-28 23:30:45 +00:00 committed by Andrew Robert Nicols
parent 1918a2452e
commit 2f545feb89

View File

@ -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();
}