Permalink
Browse files

MDL-37574 Remove default link title from navigation items

  • Loading branch information...
1 parent 1918a24 commit 2f545feb89019bef0a8dc554d2428ed96bd32674 @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 2f545fe

Please sign in to comment.