From b651201a62300fe7ca2cf6d731f19d8d01c7218d Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Wed, 12 Sep 2001 23:14:02 +0000 Subject: [PATCH] fix assertions on exit trying to remove biff servers r=racham, sr=sspitzer 97240 --- mailnews/base/src/nsMsgBiffManager.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/mailnews/base/src/nsMsgBiffManager.cpp b/mailnews/base/src/nsMsgBiffManager.cpp index e6d830b53f5..2566ab11fc9 100644 --- a/mailnews/base/src/nsMsgBiffManager.cpp +++ b/mailnews/base/src/nsMsgBiffManager.cpp @@ -198,17 +198,7 @@ NS_IMETHODIMP nsMsgBiffManager::OnServerLoaded(nsIMsgIncomingServer *server) NS_IMETHODIMP nsMsgBiffManager::OnServerUnloaded(nsIMsgIncomingServer *server) { - nsresult rv; - PRBool doBiff = PR_FALSE; - - rv = server->GetDoBiff(&doBiff); - - if(NS_SUCCEEDED(rv) && doBiff) - { - rv = RemoveServerBiff(server); - } - - return rv; + return RemoveServerBiff(server); } NS_IMETHODIMP nsMsgBiffManager::Observe(nsISupports *aSubject, const PRUnichar *aTopic, const PRUnichar *someData)