Clear the cache before populating it.
authorChenthill Palanisamy <pchenthill@novell.com>
Tue, 17 Aug 2004 09:57:23 +0000 (09:57 +0000)
committerChenthill Palanisamy <pchen@src.gnome.org>
Tue, 17 Aug 2004 09:57:23 +0000 (09:57 +0000)
2004-08-17  Chenthill Palanisamy <pchenthill@novell.com>

* backends/groupwise/e-cal-backend-groupwise.c
(connect_to_server): Clear the cache before populating
it.

calendar/ChangeLog
calendar/backends/groupwise/e-cal-backend-groupwise.c

index 9a8d61f..2384452 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-17  Chenthill Palanisamy <pchenthill@novell.com>
+       
+       * backends/groupwise/e-cal-backend-groupwise.c
+       (connect_to_server): Clear the cache before populating 
+       it.
+       
 2004-08-16  Chenthill Palanisamy <pchenthill@novell.com>
        
        * backends/groupwise/e-cal-backend-groupwise.c
index 78ac30f..3445f0c 100644 (file)
@@ -304,6 +304,9 @@ connect_to_server (ECalBackendGroupwise *cbgw)
                                        return GNOME_Evolution_Calendar_OtherError;
                                }
 
+                       /* Clear the cache before populating it */
+                       e_file_cache_clean (E_FILE_CACHE (priv->cache));
+                               
                        /* Populate the cache for the first time.*/
                        /* start a timed polling thread set to 10 minutes*/
                        cnc_status = populate_cache (cbgw);