MDL-37574 Remove default link title from navigation items

This commit is contained in:
Andrew Robert Nicols
2013-02-01 11:35:00 +00:00
committed by Andrew Robert Nicols
parent 5e3412d94d
commit 8e3b8a617d
-2
View File
@@ -187,8 +187,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();
}