From: vincent@cubedesigners.com Date: Fri, 4 Oct 2013 16:32:54 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=79d3afd3eb4f895fbd5b21f4b5d5a3119fc92ea8;p=cubeextranet.git --- diff --git a/inc/ws/Controlleur/class.ws.services.php b/inc/ws/Controlleur/class.ws.services.php index 3d3873da7..5b374ce5b 100644 --- a/inc/ws/Controlleur/class.ws.services.php +++ b/inc/ws/Controlleur/class.ws.services.php @@ -730,22 +730,8 @@ class wsServices extends cubeFlashGateway { $r = $p . '/'; $iterator = CubeIT_Files::getRecursiveDirectoryIterator(ROOT . $dir . '/' . $p); - - - - $book = $books[$p]; - $reso = $resolution; - if ($reso == 300) { - for ($i = 1; $i <= $book->pages; $i++) { - if (!file_exists(ROOT . $dir . '/' . $p . '/data/background/300/t' . $i . '.jpg')) { - $reso = 150; - break; - } - } - } - $theme = $daoTheme->selectById($book->theme); $orders = $this->_getBundles($book);