Too late to sync the folders here... if this is gonna happen at all it
authorJeffrey Stedfast <fejj@ximian.com>
Tue, 4 Sep 2001 20:36:48 +0000 (20:36 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Tue, 4 Sep 2001 20:36:48 +0000 (20:36 +0000)
2001-09-04  Jeffrey Stedfast  <fejj@ximian.com>

* camel-remote-store.c (remote_disconnect): Too late to sync the
folders here... if this is gonna happen at all it should be done
in the provider.

camel/ChangeLog
camel/camel-remote-store.c

index 32489cb..b6be181 100644 (file)
@@ -1,5 +1,9 @@
 2001-09-04  Jeffrey Stedfast  <fejj@ximian.com>
 
+       * camel-remote-store.c (remote_disconnect): Too late to sync the
+       folders here... if this is gonna happen at all it should be done
+       in the provider.
+
        * camel-service.c (camel_service_finalize): Do a clean disconnect.
 
 2001-08-30  Jeffrey Stedfast  <fejj@ximian.com>
index dffea34..0bd78cf 100644 (file)
@@ -302,10 +302,6 @@ remote_disconnect (CamelService *service, gboolean clean, CamelException *ex)
                store->timeout_id = 0;
        }
        
-       if (clean)
-               /* sync all folders */
-               g_hash_table_foreach (CAMEL_STORE (store)->folders, sync_remote_folder, ex);
-
        if (!CAMEL_SERVICE_CLASS (store_class)->disconnect (service, clean, ex))
                return FALSE;