Don't check the persist value for DeleteCategoryEntry, because the original behavior didn't work right anyway, so everybody passes "true".

This commit is contained in:
Benjamin Smedberg 2010-06-24 22:05:20 -04:00
Родитель 27dd21bd1d
Коммит b5d1f6d854
1 изменённых файлов: 0 добавлений и 5 удалений

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

@ -639,11 +639,6 @@ nsCategoryManager::DeleteCategoryEntry( const char *aCategoryName,
const char *aEntryName,
PRBool aDontPersist)
{
if (!aDontPersist) {
NS_ERROR("Persistence not supported in the category manager.");
return NS_ERROR_INVALID_ARG;
}
NS_ENSURE_ARG_POINTER(aCategoryName);
NS_ENSURE_ARG_POINTER(aEntryName);