phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.45


From: nomail
Subject: [Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.45
Date: Tue, 15 Jun 2004 11:53:08 +0200

Update of /sync/inc
Modified Files:
        Branch: 
          class.bo_sync.inc.php

date: 2004/06/15 09:53:08;  author: mleonhardt;  state: Exp;  lines: +10 -8

Log Message:
- simplifying readClientMapping to prevent sending redundant data over xmlrpc
=====================================================================
Index: sync/inc/class.bo_sync.inc.php
diff -u sync/inc/class.bo_sync.inc.php:1.44 sync/inc/class.bo_sync.inc.php:1.45
--- sync/inc/class.bo_sync.inc.php:1.44 Mon Jun 14 22:30:19 2004
+++ sync/inc/class.bo_sync.inc.php      Tue Jun 15 09:53:08 2004
@@ -530,13 +530,15 @@
     function readClientMappings($deviceid, $source) {
       $channelid = $this->so->GetChannelIDfromSourceAndDeviceID($deviceid, 
$source);
       $LUIDs = $this->so->GetAllLUIDs($channelid);
-      $result = array();
-      foreach($LUIDs as $LUID) {
-        // fake a mapping with GUID = LUID because we want to 
-        // handle mapping in phpgw syncmodule for ourselves
-        $result[] = array((string) $LUID, (string) $LUID);
-      }
-      return $result;
+//      $result = array();
+//      foreach($LUIDs as $LUID) {
+//        // fake a mapping with GUID = LUID because we want to 
+//        // handle mapping in phpgw syncmodule for ourselves
+//        $result[] = array((string) $LUID, (string) $LUID);
+//      }
+//      return $result;
+//   changed behaviour - to prevent sending redundant info through xmlrpc 
+      return $LUIDs;
     }
 
    /**




reply via email to

[Prev in Thread] Current Thread [Next in Thread]