From 2f545feb89019bef0a8dc554d2428ed96bd32674 Mon Sep 17 00:00:00 2001 From: Andrew Robert Nicols Date: Mon, 28 Jan 2013 23:30:45 +0000 Subject: [PATCH] MDL-37574 Remove default link title from navigation items --- lib/navigationlib.php | 2 -- 1 file changed, 2 deletions(-) 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(); }