From 43c612d2448872433e82796ab916d66f18480138 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 13 Feb 2015 12:35:37 +0000 Subject: Remove saveHelpDialogSettings, it's unused. It seems this was probably used at some point before the introduction of settings.set() in the front end. It isn't used at all, now. --- background_scripts/main.coffee | 4 ---- 1 file changed, 4 deletions(-) (limited to 'background_scripts') diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index e15081eb..cb70db9a 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -84,9 +84,6 @@ root.isEnabledForUrl = isEnabledForUrl = (request) -> passKeys: rule?.passKeys or "" } -saveHelpDialogSettings = (request) -> - Settings.set("helpDialog_showAdvancedCommands", request.showAdvancedCommands) - # Retrieves the help dialog HTML template from a file, and populates it with the latest keybindings. # This is called by options.coffee. root.helpDialogHtml = (showUnboundCommands, showCommandNames, customTitle) -> @@ -651,7 +648,6 @@ sendRequestHandlers = copyToClipboard: copyToClipboard pasteFromClipboard: pasteFromClipboard isEnabledForUrl: isEnabledForUrl - saveHelpDialogSettings: saveHelpDialogSettings selectSpecificTab: selectSpecificTab refreshCompleter: refreshCompleter createMark: Marks.create.bind(Marks) -- cgit v1.2.3