From b6fb98a43176215f16fc52b64abebde51355e5c1 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 14 Sep 2017 12:01:44 -0500 Subject: remove more global references (#7442) --- app/command_settings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/command_settings.go') diff --git a/app/command_settings.go b/app/command_settings.go index 25401814f..c6fceb504 100644 --- a/app/command_settings.go +++ b/app/command_settings.go @@ -33,7 +33,7 @@ func (settings *SettingsProvider) GetCommand(T goi18n.TranslateFunc) *model.Comm } } -func (settings *SettingsProvider) DoCommand(args *model.CommandArgs, message string) *model.CommandResponse { +func (settings *SettingsProvider) DoCommand(a *App, args *model.CommandArgs, message string) *model.CommandResponse { // This command is handled client-side and shouldn't hit the server. return &model.CommandResponse{ Text: args.T("api.command_settings.unsupported.app_error"), -- cgit v1.2.3-1-g7c22