Bug 1365585 - Remove obsolete localstore.rdf, remove xulstore.json in safe mode. r=aceman
This commit is contained in:
Родитель
64b1431ec5
Коммит
d9612e536a
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<RDF:RDF
|
||||
xmlns:NC="http://home.netscape.com/NC-rdf#"
|
||||
xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
</RDF:RDF>
|
|
@ -6,6 +6,5 @@
|
|||
DIRS += ['extensions']
|
||||
|
||||
FINAL_TARGET_FILES.defaults.profile += [
|
||||
'localstore.rdf',
|
||||
'mimeTypes.rdf',
|
||||
]
|
||||
|
|
|
@ -14,6 +14,10 @@ function deleteLocalstore() {
|
|||
var localstoreFile = Services.dirsvc.get("LStoreS", Components.interfaces.nsIFile);
|
||||
if (localstoreFile.exists())
|
||||
localstoreFile.remove(false);
|
||||
// Delete the new xulstore file.
|
||||
localstoreFile.leafName = "xulstore.json";
|
||||
if (localstoreFile.exists())
|
||||
localstoreFile.remove(false);
|
||||
}
|
||||
|
||||
function disableAddons() {
|
||||
|
|
|
@ -158,7 +158,6 @@
|
|||
; Mail Specific Files
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
@RESPATH@/defaults/messenger/mailViews.dat
|
||||
@RESPATH@/defaults/profile/localstore.rdf
|
||||
@RESPATH@/defaults/profile/prefs.js
|
||||
@RESPATH@/defaults/profile/mimeTypes.rdf
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче