summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-06 15:52:06 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-06-28 12:08:41 (GMT)
commitaa7467bd341c653852d8e52baa6d691d4875a35b (patch)
treefc736b52a30e59253d09dbd8c3b333557ac617ad
parent5e8d948f1857ff86392e8df0b4f601f5ec1f8124 (diff)
downloadkolab-syncroton-aa7467bd341c653852d8e52baa6d691d4875a35b.tar.gz
Fix type annotation of folder creation (Bug #1719)kolab-syncroton-2.1-rc3
-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) {