comment for bug #77652. this code isn't ready to be turned on yet

and this extra comment explains when it will be.
This commit is contained in:
sspitzer%netscape.com 2001-04-26 05:46:43 +00:00
Родитель 9ff6a84c90
Коммит 02eecc1fb1
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -918,13 +918,13 @@ nsMsgIncomingServer::ClearAllValues()
NS_IMETHODIMP
nsMsgIncomingServer::RemoveFiles()
{
// this is not ready for prime time. the problem is that if files are in use, they won't
// get deleted properly. for example, when we get here, we may have .msf files in open
// and in use. I need to think about this some more.
// IMPORTANT, see bug #77652
// don't turn this code on yet. we don't inform the user that
// we are going to be deleting the directory, and they might have
// tweaked their localPath pref for this server to point to
// somewhere they didn't want deleted.
// until we tell them, we shouldn't do the delete.
#if 0
#ifdef DEBUG_MSGINCOMING_SERVER
printf("remove files for %s\n", (const char *)m_serverKey);
#endif /* DEBUG_MSGINCOMING_SERVER */
nsresult rv = NS_OK;
nsCOMPtr <nsIFileSpec> localPath;
rv = GetLocalPath(getter_AddRefs(localPath));