mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1116558 - Remove the code to handle shutdown-cleanse from the RDF code; r=bsmedberg
shutdown-cleanse has not been a thing for quite a while.
This commit is contained in:
parent
20a19ff838
commit
bc9f04611f
@ -474,13 +474,6 @@ LocalStoreImpl::Observe(nsISupports *aSubject, const char *aTopic, const char16_
|
||||
// Create an in-memory datasource for use while we're
|
||||
// profile-less.
|
||||
mInner = do_CreateInstance(NS_RDF_DATASOURCE_CONTRACTID_PREFIX "in-memory-datasource");
|
||||
|
||||
if (!NS_strcmp(someData, MOZ_UTF16("shutdown-cleanse"))) {
|
||||
nsCOMPtr<nsIFile> aFile;
|
||||
rv = NS_GetSpecialDirectory(NS_APP_LOCALSTORE_50_FILE, getter_AddRefs(aFile));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = aFile->Remove(false);
|
||||
}
|
||||
}
|
||||
else if (!nsCRT::strcmp(aTopic, "profile-do-change")) {
|
||||
rv = LoadData();
|
||||
|
Loading…
Reference in New Issue
Block a user