[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sync/inc/class.so_sync.inc.php, 1.34
From: |
nomail |
Subject: |
[Phpgroupware-cvs] sync/inc/class.so_sync.inc.php, 1.34 |
Date: |
Sun, 23 May 2004 06:57:32 -0000 |
Update of /sync/inc
Modified Files:
Branch:
class.so_sync.inc.php
date: 2004/05/03 08:55:40; author: mleonhardt; state: Exp; lines: +19 -1
Log Message:
- resetChanneltoFullsync
=====================================================================
Index: sync/inc/class.so_sync.inc.php
diff -u sync/inc/class.so_sync.inc.php:1.33 sync/inc/class.so_sync.inc.php:1.34
--- sync/inc/class.so_sync.inc.php:1.33 Mon May 3 08:13:18 2004
+++ sync/inc/class.so_sync.inc.php Mon May 3 08:55:40 2004
@@ -719,5 +719,23 @@
" WHERE deviceid='$deviceid'",__LINE__,__FILE__);
return !($GLOBALS['phpgw']->db->Error);
}
+
+ /**
+ * reset the sync channel to do a fullsync (= slowsync) on next
synchronization
+ *
+ * the sync channel is precise defined by $deviceid, $source
+ *
+ * @param integer $deviceid unique device ID for internal devices database
+ * @param string $source Source name from device (e.g. 'contacts')
+ * @return boolean true if successfull, false in case of error
+ */
+
+ function resetChanneltoFullsync($deviceid, $source)
+ {
+// $GLOBALS['phpgw']->db->query("UPDATE phpgw_syncdevices SET
description='$newdescription' " .
+// " WHERE
deviceid='$deviceid'",__LINE__,__FILE__);
+// return !($GLOBALS['phpgw']->db->Error);
+ return true;
+ }
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sync/inc/class.so_sync.inc.php, 1.34,
nomail <=