Don't automatically register every data source; instead, the data source can register itself during Init().

This commit is contained in:
waterson%netscape.com 1999-03-01 05:55:18 +00:00
parent 428526b495
commit 0d9f516821

View File

@ -712,7 +712,7 @@ ServiceImpl::GetDataSource(const char* uri, nsIRDFDataSource** aDataSource)
if (NS_FAILED(rv)) return rv;
rv = (*aDataSource)->Init(uri);
if (NS_FAILED(rv)) return rv;
return RegisterDataSource(*aDataSource);
return NS_OK;
}
NS_IMETHODIMP