lib/kolab_sync_backend.php

Aleksander Machniak machniak at kolabsys.com
Sat Apr 6 17:52:42 CEST 2013


 lib/kolab_sync_backend.php |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 1d6bff14378f9f05285d2ad0b76e61cdf2c9ab56
Author: Aleksander Machniak <alec at alec.pl>
Date:   Sat Apr 6 17:52:06 2013 +0200

    Fix type annotation of folder creation (Bug #1719)

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) {





More information about the commits mailing list