*/
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)
{
*
* @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"]))