summaryrefslogtreecommitdiff
path: root/ext/js/data/options-util.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-14 22:51:48 -0400
committerGitHub <noreply@github.com>2021-03-14 22:51:48 -0400
commit49b603c7561c1f39cd79c969e00b6069cedb2397 (patch)
tree8aea4642daa2d568579399ead8ca1bee236afca2 /ext/js/data/options-util.js
parenta52d86a39e9cca620823e3d97d7c129a7abafced (diff)
Remove old settings page (#1524)
* Remove old settings page * Remove spinner.gif
Diffstat (limited to 'ext/js/data/options-util.js')
-rw-r--r--ext/js/data/options-util.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/ext/js/data/options-util.js b/ext/js/data/options-util.js
index c31ae680..334445c6 100644
--- a/ext/js/data/options-util.js
+++ b/ext/js/data/options-util.js
@@ -458,7 +458,8 @@ class OptionsUtil {
{async: true, update: this._updateVersion6.bind(this)},
{async: false, update: this._updateVersion7.bind(this)},
{async: true, update: this._updateVersion8.bind(this)},
- {async: false, update: this._updateVersion9.bind(this)}
+ {async: false, update: this._updateVersion9.bind(this)},
+ {async: false, update: this._updateVersion10.bind(this)}
];
}
@@ -748,4 +749,11 @@ class OptionsUtil {
}
return options;
}
+
+ _updateVersion10(options) {
+ // Version 10 changes:
+ // Removed global option useSettingsV2.
+ delete options.global.useSettingsV2;
+ return options;
+ }
}