Fixes bug 499105 (bnc) - do not update the server utc time when the calendar opens.
authorChenthill Palanisamy <pchenthill@novell.com>
Wed, 20 May 2009 10:07:43 +0000 (15:37 +0530)
committerChenthill Palanisamy <pchenthill@novell.com>
Wed, 20 May 2009 10:10:53 +0000 (15:40 +0530)
If the cache is bug. updating the utc takes some time which causes the _open
method to be slow.

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

index a5dd96b..b57152a 100644 (file)
@@ -1023,16 +1023,12 @@ connect_to_server (ECalBackendGroupwise *cbgw)
 
        if (priv->cnc ) {
                if (priv->cache && priv->container_id) {
-                       char *utc_str;
                        priv->mode = CAL_MODE_REMOTE;
                        if (priv->mode_changed && !priv->dthread) {
                                priv->mode_changed = FALSE;
                                fetch_deltas (cbgw);
                        }
 
-                       utc_str = (char *) e_gw_connection_get_server_time (priv->cnc);
-                       e_cal_backend_cache_put_server_utc_time (priv->cache, utc_str);
-
                        return GNOME_Evolution_Calendar_Success;
                }
        } else {