commit bbd9fdafbc12d4034e84fc4555b30fbf7bfc4fd6
Author: Johnny Jacob <johnnyjacob@gmail.com>
Date:   Tue Feb 16 12:39:41 2010 +0530

    Bug #607637 - empty trash doesn't refresh folder view
    
    Use camel_folder_summary_clear_db for cleaning dummary db.

	Modified src/camel/camel-mapi-summary.c
diff --git a/src/camel/camel-mapi-summary.c b/src/camel/camel-mapi-summary.c
index efd64fc..1e8c938 100644
--- a/src/camel/camel-mapi-summary.c
+++ b/src/camel/camel-mapi-summary.c
@@ -262,7 +262,6 @@ mapi_summary_clear (CamelFolderSummary *summary, gboolean uncache)
 {
 	CamelFolderChangeInfo *changes;
 	CamelMessageInfo *info;
-	CamelException ex;
 	int i, count;
 	const char *uid;
 
@@ -278,10 +277,7 @@ mapi_summary_clear (CamelFolderSummary *summary, gboolean uncache)
 		camel_message_info_free(info);
 	}
 
-	camel_folder_summary_clear (summary);
-	camel_exception_init (&ex);
-	/*TODO : Test exception */
-	camel_folder_summary_save_to_db (summary, &ex);
+	camel_folder_summary_clear_db (summary);
 
 	if (uncache)
 		camel_data_cache_clear (((CamelMapiFolder *) summary->folder)->cache, "cache", NULL);

