Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-37574 Remove default link title from navigation items

  • Loading branch information...
commit 2f545feb89019bef0a8dc554d2428ed96bd32674 1 parent 1918a24
@andrewnicols andrewnicols authored andrewnicols committed
Showing with 0 additions and 2 deletions.
  1. +0 −2  lib/navigationlib.php
View
2  lib/navigationlib.php
@@ -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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.