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.36


From: nomail
Subject: [Phpgroupware-cvs] sync/inc/class.so_sync.inc.php, 1.36
Date: Sun, 23 May 2004 04:24:01 -0000

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

date: 2004/05/03 13:22:32;  author: mkaemmerer;  state: Exp;  lines: +9 -9

Log Message:
- fixed resetChanneltoFullSync
=====================================================================
Index: sync/inc/class.so_sync.inc.php
diff -u sync/inc/class.so_sync.inc.php:1.35 sync/inc/class.so_sync.inc.php:1.36
--- sync/inc/class.so_sync.inc.php:1.35 Mon May  3 13:07:53 2004
+++ sync/inc/class.so_sync.inc.php      Mon May  3 13:22:32 2004
@@ -745,16 +745,16 @@
 
     function resetChanneltoFullsync($deviceid, $source)
     {
-      $res = SetTimestamp($deviceid, $source, '', '', '');
-      if ($res >= 0) 
+      $result = SetTimestamp($deviceid, $source, '', '', '');
+      if ($result >= 0) 
       {
-        if ($chanelid = GetChannelIDfromSourceAndDeviceID($deviceid, $source) 
>= 0 )
+        $result = GetChannelIDfromSourceAndDeviceID($deviceid, $source);
+        if ($result >= 0)
         {
-          return DeleteMappings($channelid);
-        } else
-          return $channelid;
-      } else
-        return $res; 
+          $result = DeleteMappings($result);
+        }
+      } 
+      return $res; 
     }
        }
 ?>




reply via email to

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