From 9388982eab1dd60ff0b0c51b82fad1b5b9264b7c 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 8f1e6547b3e..7723e421d8a 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(); }