navigation MDL-20395 Fixed regression created earlier

This commit is contained in:
samhemelryk 2009-10-01 04:16:22 +00:00
parent a1b74a5672
commit 1d89818236

View 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);