Bug 1066671 - Regression: Downloading is broken r=wesj

This commit is contained in:
Mark Finkle 2014-09-14 11:17:18 -04:00
parent dc00bc0160
commit d53f87bb99

View File

@ -32,9 +32,10 @@ nsParentalControlsService::GetParentalControlsEnabled(bool *aResult)
NS_IMETHODIMP
nsParentalControlsService::GetBlockFileDownloadsEnabled(bool *aResult)
{
// NOTE: isAllowed returns the opposite intention, so we need to flip it
bool res;
IsAllowed(nsIParentalControlsService::DOWNLOAD, NULL, &res);
*aResult = res;
*aResult = !res;
return NS_OK;
}