summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/kolab_sync_backend.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/kolab_sync_backend.php b/lib/kolab_sync_backend.php
index 108f6d3..0498759 100644
--- a/lib/kolab_sync_backend.php
+++ b/lib/kolab_sync_backend.php
@@ -224,7 +224,7 @@ class kolab_sync_backend
}
else {
$type = self::type_activesync2kolab($type);
- $created = kolab_storage::folder_create($name, $kolab_type, true);
+ $created = kolab_storage::folder_create($name, $type, true);
}
if ($created) {
@@ -250,7 +250,6 @@ class kolab_sync_backend
*/
public function folder_rename($old_name, $new_name, $type, $deviceid)
{
- $type = self::type_activesync2kolab($type);
$moved = kolab_storage::folder_rename($old_name, $new_name);
if ($moved) {