Skip to content

Commit

Permalink
navigation MDL-20395 Fixed regression created earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
samhemelryk committed Oct 1, 2009
1 parent a1b74a5 commit 1d89818
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions lib/weblib.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,14 +503,6 @@ public function out_action($overrideparams = array()) {
*/
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);

Expand Down

0 comments on commit 1d89818

Please sign in to comment.