From: samhemelryk Date: Thu, 1 Oct 2009 04:16:22 +0000 (+0000) Subject: navigation MDL-20395 Fixed regression created earlier X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1d89818236916d51a70872bcf9551108c5b1311f;p=moodle.git navigation MDL-20395 Fixed regression created earlier --- diff --git a/lib/weblib.php b/lib/weblib.php index bd34d3a89d..69a2713bfa 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -503,14 +503,6 @@ class moodle_url { */ public function compare(moodle_url $url, $matchtype = URL_MATCH_EXACT) { - // Set path to / if it is not set - if ($this->path == '') { - $this->path = '/'; - } - if ($url->path == '') { - $url->path = '/'; - } - $baseself = $this->out(true); $baseother = $url->out(true);