simplify things (#7735)

This commit is contained in:
Chris
2017-10-30 11:57:24 -05:00
committed by GitHub
parent 63df41b911
commit c5e8cb25ca
49 changed files with 96 additions and 184 deletions

View File

@@ -61,9 +61,5 @@ func moveCommandCmdF(cmd *cobra.Command, args []string) error {
}
func moveCommand(a *app.App, team *model.Team, command *model.Command) *model.AppError {
if err := a.MoveCommand(team, command); err != nil {
return err
}
return nil
return a.MoveCommand(team, command)
}