From 1d89818236916d51a70872bcf9551108c5b1311f Mon Sep 17 00:00:00 2001 From: samhemelryk Date: Thu, 1 Oct 2009 04:16:22 +0000 Subject: [PATCH] navigation MDL-20395 Fixed regression created earlier --- lib/weblib.php | 8 -------- 1 file changed, 8 deletions(-) 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); -- 2.39.5