[evolution-data-server] Bug #681939 - camel_folder_summary_remove_uids() doesn't remove from DB



commit 532cef75a54df4812d387815df8e72aec4d636eb
Author: Milan Crha <mcrha redhat com>
Date:   Wed Aug 29 19:04:52 2012 +0200

    Bug #681939 - camel_folder_summary_remove_uids() doesn't remove from DB

 camel/camel-folder-summary.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 56340a5..a5b1a85 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -3478,7 +3478,7 @@ camel_folder_summary_remove_uids (CamelFolderSummary *summary,
 		}
 	}
 
-	if (is_in_memory_summary (summary)) {
+	if (!is_in_memory_summary (summary)) {
 		full_name = camel_folder_get_full_name (summary->priv->folder);
 		parent_store = camel_folder_get_parent_store (summary->priv->folder);
 		if (camel_db_delete_uids (parent_store->cdb_w, full_name, uids, NULL) != 0)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]