isdir() shouldn't have to pass nodes
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 19:36:44 +0000 (19:36 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 22 Jan 2006 19:36:44 +0000 (19:36 +0000)
includes/cachev.php

index 97a6b3910d34aec1d87a01eec01f7e64359a626f..a6a8b5ab778e46b205abe9595af29842a13e8a7e 100644 (file)
@@ -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;