зеркало из https://github.com/mozilla/gecko-dev.git
fix for crasher bug #51076. the old category code is not ready for prime time, commenting it out.
mozilla 6.0 doesn't support new categories. r=mscott
This commit is contained in:
Родитель
437df4c969
Коммит
910ec9b98d
|
@ -2489,7 +2489,6 @@ nsNNTPHost::AddNewNewsgroup(const char *name,
|
|||
PRBool xactiveFlags) {
|
||||
|
||||
nsMsgGroupRecord *groupRecord = nsnull;
|
||||
nsresult rv;
|
||||
|
||||
#ifdef DEBUG_NEWS
|
||||
printf("nsNNTPHost::AddNewNewsgroup(%s,...)\n",name);
|
||||
|
@ -2523,10 +2522,15 @@ nsNNTPHost::AddNewNewsgroup(const char *name,
|
|||
}
|
||||
if (xactiveFlags)
|
||||
{
|
||||
#ifdef CATEGORIES_SUPPORTED
|
||||
SetIsCategoryContainer(name, bIsCategoryContainer, groupRecord);
|
||||
#endif /* CATEGORIES_SUPPORTED */
|
||||
SetIsVirtualGroup(name, bIsVirtual, groupRecord);
|
||||
}
|
||||
|
||||
#ifdef CATEGORIES_SUPPORTED
|
||||
nsresult rv;
|
||||
|
||||
if (status > 0) {
|
||||
// If this really is a new newsgroup, then if it's a category of a
|
||||
// subscribed newsgroup, then automatically subscribe to it.
|
||||
|
@ -2550,6 +2554,7 @@ nsNNTPHost::AddNewNewsgroup(const char *name,
|
|||
delete [] containerName;
|
||||
}
|
||||
}
|
||||
#endif /* CATEGORIES_SUPPORTED */
|
||||
|
||||
if (status <=0) return NS_ERROR_UNEXPECTED;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче