From 05a5236c064a1aa6f46db6aaeebde7cb00d2764d Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Tue, 25 Jan 2011 18:45:16 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.url.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index d3766617f..770ffe8d2 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -387,14 +387,13 @@ html{height:100%}' . "\n"; $pages = $dao->getPagesOfBook($book_id); $toUpdate = array(); foreach($pages as $p => $infos) { - if (true || $infos['version'] < 2) { + if ($infos['version'] < 2) { $toUpdate[] = $infos['document_id']; } } $toUpdate = array_unique($toUpdate); foreach($toUpdate as $document_id) { - fb('updateDocument', $document_id); self::updateDocument($document_id); } @@ -514,7 +513,6 @@ html{height:100%}' . "\n"; $i = 0; foreach($liste as $id => $client) { if (!is_array($client->contacts)) { - fb($client); continue; } $odd = cubeMath::isOdd($i)?' class="odd"':''; -- 2.39.5