Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
remove unused unregisterCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
scottleedavis committed Aug 14, 2019
1 parent c69554b commit 99abe39
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions server/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ func (p *Plugin) registerCommand(teamId string) error {
return nil
}

func (p *Plugin) unregisterCommand(teamId string) error {
return p.API.UnregisterCommand(teamId, CommandTrigger)
}

func (p *Plugin) ExecuteCommand(c *plugin.Context, args *model.CommandArgs) (*model.CommandResponse, *model.AppError) {

user, uErr := p.API.GetUser(args.UserId)
Expand Down

0 comments on commit 99abe39

Please sign in to comment.