mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-29 17:40:42 +00:00
don't commit the db for every news article expired r/sr = sspitzer 123922
This commit is contained in:
parent
fbb6233314
commit
b5e6458227
@ -1602,7 +1602,7 @@ NS_IMETHODIMP nsMsgNewsFolder::RemoveMessage(nsMsgKey key)
|
||||
{
|
||||
nsresult rv = GetDatabase(nsnull);
|
||||
NS_ENSURE_SUCCESS(rv, rv); // if GetDatabase succeeds, mDatabase will be non-null
|
||||
return mDatabase->DeleteMessage(key, nsnull, PR_TRUE);
|
||||
return mDatabase->DeleteMessage(key, nsnull, PR_FALSE);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsMsgNewsFolder::CancelComplete()
|
||||
|
Loading…
x
Reference in New Issue
Block a user