[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.48
From: |
nomail |
Subject: |
[Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.48 |
Date: |
Sun, 20 Jun 2004 15:10:37 +0200 |
Update of /sync/inc
Modified Files:
Branch:
class.bo_sync.inc.php
date: 2004/06/20 13:10:37; author: mkaemmerer; state: Exp; lines: +3 -3
Log Message:
- added more error handling for setSyncItem
=====================================================================
Index: sync/inc/class.bo_sync.inc.php
diff -u sync/inc/class.bo_sync.inc.php:1.47 sync/inc/class.bo_sync.inc.php:1.48
--- sync/inc/class.bo_sync.inc.php:1.47 Sat Jun 19 16:49:09 2004
+++ sync/inc/class.bo_sync.inc.php Sun Jun 20 13:10:37 2004
@@ -295,8 +295,8 @@
if (! is_bool($result))
{
// set new GUID
- // TODO ErrorHandling!!
- $this->so->addMappingExt($deviceid, $source, $LUID, $result);
+ $result = $this->so->addMappingExt($deviceid, $source, $LUID,
$result);
+ $result == -1 ? return false : return true;
}
}
else
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.48,
nomail <=