From 2d4a4d42dbc1838be94db0fe67aef5a0b92dcbed Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 22:17:21 +0000 Subject: [PATCH] No longer need the override for fetch_node() --- includes/cachev.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/cachev.php b/includes/cachev.php index 13fc600..9727cbc 100644 --- a/includes/cachev.php +++ b/includes/cachev.php @@ -139,7 +139,7 @@ class cacheV */ function fetch_prev_revision($revision) { - $data = $this->fetch_node(($this->controller->path == '/' ? $this->controller->repos : $this->controller->path)); + $data = $this->fetch_node(); $data = $data['history']; if (sizeof($data) < 1) { @@ -185,11 +185,9 @@ class cacheV * * @access public * - * @param string Node override - * * @return integer Latest revision; FALSE if none (not in HEAD) */ - function fetch_node($node = false) + function fetch_node() { $node = $this->fetch_node_string(($node === false ? $this->controller->path : $node)); if (!isset($this->memcache['nodes']["$node"])) -- 2.43.5