From 9b2f5fb0eb3391a6d828303e4a51e79962f55876 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 9 Jan 2006 17:45:22 +0000 Subject: [PATCH] Use unify_node() in build() --- includes/cachev.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/includes/cachev.php b/includes/cachev.php index f96c7ff..9864c9b 100644 --- a/includes/cachev.php +++ b/includes/cachev.php @@ -160,14 +160,7 @@ class cacheV foreach ($tree['log']['logentry'] AS $log) { - if (isset($log['paths'][0])) - { - $files = $log['paths']['path']; - } - else - { - $files = array($log['paths']['path']); - } + $this->registry->xml->unify_node($log['paths']['path']); $inserts[] = "($log[revision], '{$log['author']['value']}', '{$log['date']['value']}', '" . $this->registry->escape($log['msg']['value']) . "', '" . $this->registry->escape(serialize($files)) . "')"; } -- 2.22.5