mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
ec982ba41a
commit
3e1ee389fe
@ -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