Bug 1116559 - Remove the code to handle shutdown-cleanse from the cert override service code; r=keeler

shutdown-cleanse has not been a thing for quite a while.
This commit is contained in:
Ehsan Akhgari 2014-12-30 14:47:15 -05:00
parent d51df2231a
commit 4b5d28601f

View File

@ -134,18 +134,7 @@ nsCertOverrideService::Observe(nsISupports *,
// The profile is about to change,
// or is going away because the application is shutting down.
ReentrantMonitorAutoEnter lock(monitor);
if (!nsCRT::strcmp(aData, MOZ_UTF16("shutdown-cleanse"))) {
RemoveAllFromMemory();
// delete the storage file
if (mSettingsFile) {
mSettingsFile->Remove(false);
}
} else {
RemoveAllFromMemory();
}
RemoveAllFromMemory();
} else if (!nsCRT::strcmp(aTopic, "profile-do-change")) {
// The profile has already changed.
// Now read from the new profile location.