From bc9f04611fd4ae193045150542ac9ed90a2d88be Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Tue, 30 Dec 2014 14:45:45 -0500 Subject: [PATCH] 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. --- rdf/datasource/nsLocalStore.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/rdf/datasource/nsLocalStore.cpp b/rdf/datasource/nsLocalStore.cpp index c4622937ebe9..95b62b17ae97 100644 --- a/rdf/datasource/nsLocalStore.cpp +++ b/rdf/datasource/nsLocalStore.cpp @@ -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 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();