summaryrefslogtreecommitdiff
path: root/lib/kolab_sync_data_email.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-07 11:28:34 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-04-07 11:28:34 (GMT)
commitac10637a95996bf6dbd717218a4b01b8a84f9e89 (patch)
tree3dc42dff9aa3fdda6900b0e6dc2837541695f9bf /lib/kolab_sync_data_email.php
parentbdff03bd5a5e392122fded796036c81d17742068 (diff)
downloadkolab-syncroton-ac10637a95996bf6dbd717218a4b01b8a84f9e89.tar.gz
Update Syncroton
Diffstat (limited to 'lib/kolab_sync_data_email.php')
-rw-r--r--lib/kolab_sync_data_email.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kolab_sync_data_email.php b/lib/kolab_sync_data_email.php
index 6ad2ed8..6822f54 100644
--- a/lib/kolab_sync_data_email.php
+++ b/lib/kolab_sync_data_email.php
@@ -416,7 +416,7 @@ class kolab_sync_data_email extends kolab_sync_data implements Syncroton_Data_ID
*/
public function getAllFolders()
{
- $list = $this->backend->folders_list($this->device->deviceid, $this->modelName);
+ $list = $this->listFolders();
if (!is_array($list)) {
throw new Syncroton_Exception_Status_FolderSync(Syncroton_Exception_Status_FolderSync::FOLDER_SERVER_ERROR);
@@ -457,7 +457,7 @@ class kolab_sync_data_email extends kolab_sync_data implements Syncroton_Data_ID
*/
protected function extractFolders($folder_id)
{
- $list = $this->backend->folders_list($this->device->deviceid, $this->modelName);
+ $list = $this->listFolders();
$result = array();
if (!is_array($list)) {
@@ -1002,7 +1002,7 @@ class kolab_sync_data_email extends kolab_sync_data implements Syncroton_Data_ID
// @TODO: DeepTraversal
if (empty($folders)) {
- $folders = $this->backend->folders_list($this->device->deviceid, $this->modelName);
+ $folders = $this->listFolders();
if (is_array($folders)) {
$folders = array_keys($folders);