From 5b220d4c8c179bb96e54c35e480a795d275065ad Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 22 Jan 2006 19:36:44 +0000 Subject: [PATCH] isdir() shouldn't have to pass nodes --- includes/cachev.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/cachev.php b/includes/cachev.php index 97a6b39..a6a8b5a 100644 --- a/includes/cachev.php +++ b/includes/cachev.php @@ -199,13 +199,11 @@ class cacheV * * @access public * - * @param string Node path - * * @return bool TRUE if directory, FALSE if not */ - function isdir($node) + function isdir() { - $node = $this->fetch_node($node); + $node = $this->fetch_node(); if ($node['node'] == 'dir') { return true; -- 2.22.5