зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
27dd21bd1d
Коммит
b5d1f6d854
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче