Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /openpsa/addons/funambol/src/java/org/openpsa/sync4j/CalendarSyncSource.java

openpsa
Discussion topic

Back to topic list

CVS update: /openpsa/addons/funambol/src/java/org/openpsa/sync4j/CalendarSyncSource.java

Author juhana
Full name Juhana Hirvilahti
Date 2007-04-13 07:18:41 PDT
Message User: juhana
Date: 2007-04-13 07:18:41-0700
Log:
 

File Changes:

Directory: /openpsa/addons/funa​mbol/src/java/org/op​enpsa/sync4j/
====================​====================​====================​====

File [changed]: CalendarSyncSource.java
Url: http://openpsa.tigri​s.org/source/browse/​openpsa/addons/funam​bol/src/java/org/ope​npsa/sync4j/Calendar​SyncSource.java?r1=1​.152&r2=1.153
Delta lines: +2 -11
--------------------
--- CalendarSyncSource.java 2007-04-13 06:59:01-0700 1.152
+++ CalendarSyncSource.java 2007-04-13 07:18:39-0700 1.153
@@ -123,19 +123,10 @@
     protected Set getNewGuids(MidgardUser user, Date since)
             throws SyncSourceException, SQLException {
         logger.debug("getNewGuids({})", user);
- /*
- String sql = "SELECT DISTINCT e.guid"
- + " FROM eventmember as m, event as e"
- + " WHERE e.metadata_deleted=0 AND m.metadata_deleted=0"
- + " AND m.uid=? AND m.eid=e.id"
- + " AND e.metadata_created > ?";
- */
-
         String sql = "SELECT DISTINCT r.guid"
             + " FROM eventmember AS m, repligard AS r"
             + " WHERE m.metadata_deleted=0 AND m.uid = ? AND m.eid = r.id AND r.realm = 'event'"
             + " AND m.metadata_created > ?";
-
         PreparedStatement ps = prepare(sql);
         try {
             
@@ -331,7 +322,7 @@
                     + " tentative = 0, externalGuid = '',"
                     + " vCalSerialized = 'a:0:{}',"
                     + " orgOpenpsaObtype = 0, orgOpenpsaWgtype = 0,"
- + " orgOpenpsaAccesstype=100, orgOpenpsaOwnerwg = ''"
+ + " orgOpenpsaAccesstype = 102, orgOpenpsaOwnerwg = ''"
                     + " WHERE id = ?";
                 PreparedStatement update = prepare(sql);
                 try {

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /openpsa/addons/funambol/src/java/org/openpsa/sync4j/CalendarSyncSource.java juhana Juhana Hirvilahti 2007-04-13 07:18:41 PDT
Messages per page: