From 8e3b8a617d6b3bdf6c8ef88b0e17ac6226a2af55 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 856c74faf58..aae2c948979 100644 --- a/lib/navigationlib.php +++ b/lib/navigationlib.php @@ -187,8 +187,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(); }