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
565e9da954
commit
5dbcd7e0fe
File diff suppressed because one or more lines are too long
@ -246,12 +246,18 @@ function migrateSettings() {
|
||||
defaultManifest = Services.prefs.getDefaultBranch(null)
|
||||
.getComplexValue(prefname, Ci.nsISupportsString).data;
|
||||
defaultManifest = JSON.parse(defaultManifest);
|
||||
} catch(e) {
|
||||
// not a built-in, continue
|
||||
}
|
||||
if (defaultManifest) {
|
||||
if (defaultManifest.shareURL && !manifest.shareURL) {
|
||||
manifest.shareURL = defaultManifest.shareURL;
|
||||
needsUpdate = true;
|
||||
}
|
||||
} catch(e) {
|
||||
// not a built-in, continue
|
||||
if (defaultManifest.version && (!manifest.version || defaultManifest.version > manifest.version)) {
|
||||
manifest = defaultManifest;
|
||||
needsUpdate = true;
|
||||
}
|
||||
}
|
||||
if (needsUpdate) {
|
||||
// the provider was installed with an older build, so we will update the
|
||||
|
Loading…
Reference in New Issue
Block a user