phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] sync/inc/class.so_sync.inc.php, 1.46


From: nomail
Subject: [Phpgroupware-cvs] sync/inc/class.so_sync.inc.php, 1.46
Date: Sun, 20 Jun 2004 23:02:07 +0200

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

date: 2004/06/20 21:02:07;  author: mkaemmerer;  state: Exp;  lines: +6 -3

Log Message:
- resolved all todo points and updated all documentation
=====================================================================
Index: sync/inc/class.so_sync.inc.php
diff -u sync/inc/class.so_sync.inc.php:1.45 sync/inc/class.so_sync.inc.php:1.46
--- sync/inc/class.so_sync.inc.php:1.45 Thu Jun 17 16:00:26 2004
+++ sync/inc/class.so_sync.inc.php      Sun Jun 20 21:02:07 2004
@@ -701,8 +701,11 @@
 
       $GLOBALS['phpgw']->db->query("UPDATE phpgw_syncmapping SET luid='$LUID', 
guid='$newGUID' "
           . "WHERE channelid='$channelid' AND 
guid='$newGUID'",__LINE__,__FILE__);
-      //TODO: Error handling
-      return true; 
+      
+      if ($GLOBALS['phpgw']->db->Error) 
+        return false;
+      else
+        return true;
     }
 
    /**




reply via email to

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