]> git.mjollnir.org Git - moodle.git/commitdiff
navigation MDL-20395 Fixed regression created earlier
authorsamhemelryk <samhemelryk>
Thu, 1 Oct 2009 04:16:22 +0000 (04:16 +0000)
committersamhemelryk <samhemelryk>
Thu, 1 Oct 2009 04:16:22 +0000 (04:16 +0000)
lib/weblib.php

index bd34d3a89d6b53aa44a74d52d350d02c9899750f..69a2713bfa6d1ba0f4a5c31c21301c712fcf281a 100644 (file)
@@ -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);