diff --git a/mozilla/mailnews/base/public/nsIMsgFolder.idl b/mozilla/mailnews/base/public/nsIMsgFolder.idl index 246fb26806e..94969314afa 100644 --- a/mozilla/mailnews/base/public/nsIMsgFolder.idl +++ b/mozilla/mailnews/base/public/nsIMsgFolder.idl @@ -114,7 +114,7 @@ interface nsIMsgFolder : nsIFolder { */ readonly attribute nsIMsgFolder rootFolder; - void OnCloseFolder (); + void ForceDBClosed (); void Delete (); void deleteSubFolders(in nsISupportsArray folders); diff --git a/mozilla/mailnews/base/util/nsMsgFolder.cpp b/mozilla/mailnews/base/util/nsMsgFolder.cpp index dc34459df35..80cc466a00e 100644 --- a/mozilla/mailnews/base/util/nsMsgFolder.cpp +++ b/mozilla/mailnews/base/util/nsMsgFolder.cpp @@ -889,7 +889,7 @@ NS_IMETHODIMP nsMsgFolder::GetShowDeletedMessages(PRBool *showDeletedMessages) } -NS_IMETHODIMP nsMsgFolder::OnCloseFolder () +NS_IMETHODIMP nsMsgFolder::ForceDBClosed () { return NS_OK; } diff --git a/mozilla/mailnews/base/util/nsMsgFolder.h b/mozilla/mailnews/base/util/nsMsgFolder.h index 2354ab846ab..537f344dcf0 100644 --- a/mozilla/mailnews/base/util/nsMsgFolder.h +++ b/mozilla/mailnews/base/util/nsMsgFolder.h @@ -83,7 +83,7 @@ public: NS_IMETHOD GetCanFileMessages(PRBool *aCanFileMessages); NS_IMETHOD GetCanCreateSubfolders(PRBool *aCanCreateSubfolders); NS_IMETHOD GetCanRename(PRBool *aCanRename); - NS_IMETHOD OnCloseFolder(void); + NS_IMETHOD ForceDBClosed(void); NS_IMETHOD Delete(void); NS_IMETHOD DeleteSubFolders(nsISupportsArray *folders); NS_IMETHOD PropagateDelete(nsIMsgFolder *folder, PRBool deleteStorage);