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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user