diff --git a/lib/navigationlib.php b/lib/navigationlib.php index 185d960b6a8..b4bc09872d0 100644 --- a/lib/navigationlib.php +++ b/lib/navigationlib.php @@ -195,8 +195,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(); }