Adding a comment, no bug, no reviewer

git-svn-id: svn://10.0.0.236/trunk@109665 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
naving%netscape.com
2001-12-04 21:50:42 +00:00
parent a61c552cf3
commit 033fcb37fd

View File

@@ -294,6 +294,9 @@ function RerootFolder(uri, newFolder, viewType, viewFlags, sortType, sortOrder)
CreateDBView(newFolder, viewType, viewFlags, sortType, sortOrder);
if (oldFolder)
{
/*we don't null out the db reference for inbox because inbox is like the "main" folder
and performance outweighs footprint */
if (!IsSpecialFolder(oldFolder, MSG_FOLDER_FLAG_INBOX))
if (oldFolder.URI != newFolder.URI)
oldFolder.setMsgDatabase(null);