From 48711de8f013dfbe9461c5aebec37eb550624537 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 19:52:53 +0000 Subject: [PATCH] Changes because this is now a static class --- includes/paths.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/includes/paths.php b/includes/paths.php index f64fc1a..a4c45c3 100644 --- a/includes/paths.php +++ b/includes/paths.php @@ -150,7 +150,7 @@ class Paths */ function is_root_path($path) { - $path = $this->fetch_path($path); + $path = Paths::fetch_path($path); $temp = preg_split('#/#', $path, -1, PREG_SPLIT_NO_EMPTY); if (sizeof($temp) > 0) { @@ -175,13 +175,11 @@ class Paths */ function fetch_rev_num($highlow = false, $high = null, $low = null) { - global $viewsvn; - if ($highlow) { if (isset($viewsvn->in['high']) AND is_null($high)) { - $high = $viewsvn->svn->rev($viewsvn->in['high']); + $high = SVNCommon::rev($viewsvn->in['high']); } else if (is_null($high)) { @@ -190,7 +188,7 @@ class Paths if (isset($viewsvn->in['low']) AND is_null($low)) { - $low = $viewsvn->svn->rev($viewsvn->in['low']); + $low = SVNCommon::rev($viewsvn->in['low']); } else if (is_null($low)) { -- 2.43.5