Don't bypass transaction rollback when we're missing data to unlink.

This commit is contained in:
alexhudson
2010-08-22 00:04:20 +00:00
parent f2c476c15d
commit 7b8ff83a72
+1 -1
View File
@@ -1971,7 +1971,7 @@ StoreObjectUnlinkFromConversation(StoreClient *client, StoreObject *mail)
// no conversation guid means nothing to unlink
Log(LOG_ERROR, "Unable to unlink mail " GUID_FMT " from conversation: no cid",
mail->guid);
return -1;
goto abort;
}
// unlink the mail from the conversation