Permalink
Browse files

MDL-37574 Remove default link title from navigation items

  • Loading branch information...
1 parent 5e3412d commit 8e3b8a617d6b3bdf6c8ef88b0e17ac6226a2af55 @andrewnicols andrewnicols committed with andrewnicols Jan 28, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/navigationlib.php
View
2 lib/navigationlib.php
@@ -187,8 +187,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 8e3b8a6

Please sign in to comment.