mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 941322 deprecate facebook messenger features, r=felipe
This commit is contained in:
parent
4c2b5c3fd4
commit
4b536ca9f6
File diff suppressed because one or more lines are too long
@ -246,12 +246,18 @@ function migrateSettings() {
|
|||||||
defaultManifest = Services.prefs.getDefaultBranch(null)
|
defaultManifest = Services.prefs.getDefaultBranch(null)
|
||||||
.getComplexValue(prefname, Ci.nsISupportsString).data;
|
.getComplexValue(prefname, Ci.nsISupportsString).data;
|
||||||
defaultManifest = JSON.parse(defaultManifest);
|
defaultManifest = JSON.parse(defaultManifest);
|
||||||
|
} catch(e) {
|
||||||
|
// not a built-in, continue
|
||||||
|
}
|
||||||
|
if (defaultManifest) {
|
||||||
if (defaultManifest.shareURL && !manifest.shareURL) {
|
if (defaultManifest.shareURL && !manifest.shareURL) {
|
||||||
manifest.shareURL = defaultManifest.shareURL;
|
manifest.shareURL = defaultManifest.shareURL;
|
||||||
needsUpdate = true;
|
needsUpdate = true;
|
||||||
}
|
}
|
||||||
} catch(e) {
|
if (defaultManifest.version && (!manifest.version || defaultManifest.version > manifest.version)) {
|
||||||
// not a built-in, continue
|
manifest = defaultManifest;
|
||||||
|
needsUpdate = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (needsUpdate) {
|
if (needsUpdate) {
|
||||||
// the provider was installed with an older build, so we will update the
|
// the provider was installed with an older build, so we will update the
|
||||||
|
Loading…
Reference in New Issue
Block a user