aboutsummaryrefslogtreecommitdiff
path: root/ext/fg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-06 21:06:45 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-09-06 21:23:35 -0400
commit13b184707b1bb0c5150645d6cdd186accb345f60 (patch)
treedca363d100085b50b583514f2f3fb4ecad984baf /ext/fg
parent35ca0f35dd2cfea3223e5a38d5465002dd54993b (diff)
Remove unnecessary functions
apiOptionsSet not required in bg/js/api.js after optionsSave; optionsSave already invokes apiOptionsSet. apiOptionsSet not required in fg/js/api.js since it's never invoked by the foreground. optionsSet handler not required in bg/js/backend.js since the message is never sent by the foreground.
Diffstat (limited to 'ext/fg')
-rw-r--r--ext/fg/js/api.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js
index 6bcb0dbb..aa3b2629 100644
--- a/ext/fg/js/api.js
+++ b/ext/fg/js/api.js
@@ -17,10 +17,6 @@
*/
-function apiOptionsSet(options) {
- return utilInvoke('optionsSet', {options});
-}
-
function apiOptionsGet() {
return utilInvoke('optionsGet');
}