if (property == kNC_Child)
if ((property == kNC_Child) && (mPerformQuery == PR_TRUE))
RelatedLinksDataSource::GetTargets(nsIRDFResource *source,                           nsIRDFResource *property,                           PRBool tv,                           nsISimpleEnumerator **targets /* out */){	nsresult		rv = NS_ERROR_FAILURE;	// we only have positive assertions in the Related Links data source.	*targets = nsnull;	if ((tv) && (source == kNC_RelatedLinksRoot))	{		if (property == kNC_Child)		{			rv = GetRelatedLinksListing(source);            if (NS_FAILED(rv)) return rv;            return NS_NewEmptyEnumerator(targets);		}		else if (property == kNC_pulse)		{			nsAutoString	pulse("15");			nsIRDFLiteral	*pulseLiteral;			rv = gRDFService->GetLiteral(pulse.GetUnicode(), &pulseLiteral);            if (NS_FAILED(rv)) return rv;            nsISimpleEnumerator* result = new nsSingletonEnumerator(pulseLiteral);            NS_RELEASE(pulseLiteral);            if (! result)                return NS_ERROR_OUT_OF_MEMORY;            NS_ADDREF(result);            *targets = result;            return NS_OK;		}		else if (property == kRDF_type)		{			nsXPIDLCString	uri;			rv = kNC_FTPObject->GetValue( getter_Copies(uri) );            if (NS_FAILED(rv)) return rv;            nsAutoString	url(uri);            nsIRDFLiteral	*literal;            rv = gRDFService->GetLiteral(url.GetUnicode(), &literal);            if (NS_FAILED(rv)) return rv;            nsISimpleEnumerator* result = new nsSingletonEnumerator(literal);            NS_RELEASE(literal);            if (! result)                return NS_ERROR_OUT_OF_MEMORY;            NS_ADDREF(result);            *targets = result;            return NS_OK;		}	}    if (mInner)	{        return mInner->GetTargets(source, property, tv, targets);	}    else {        return NS_NewEmptyEnumerator(targets);    }}