Permalink
Browse files

MDL-37574 Remove default link title from navigation items

  • Loading branch information...
1 parent a8e927e commit 9388982eab1dd60ff0b0c51b82fad1b5b9264b7c @andrewnicols andrewnicols committed Jan 28, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/navigationlib.php
View
@@ -195,8 +195,6 @@ public function __construct($properties) {
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();
}

0 comments on commit 9388982

Please sign in to comment.