mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 01:05:26 +01:00 
			
		
		
		
	Remove superflous version check for server. (#284)
Remove superflous version check for server. Signed-off-by: Karl Heinz Marbaise <kama@soebes.de> Co-authored-by: Karl Heinz Marbaise <kama@soebes.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/284 Reviewed-by: Norwin <noerw@noreply.gitea.io> Reviewed-by: 6543 <6543@obermui.de> Co-Authored-By: khmarbaise <khmarbaise@noreply.gitea.io> Co-Committed-By: khmarbaise <khmarbaise@noreply.gitea.io>
This commit is contained in:
		| @@ -30,10 +30,6 @@ func runTrackedTimesDelete(ctx *cli.Context) error { | ||||
| 	login, owner, repo := config.InitCommand(flags.GlobalRepoValue, flags.GlobalLoginValue, flags.GlobalRemoteValue) | ||||
| 	client := login.Client() | ||||
|  | ||||
| 	if err := client.CheckServerVersionConstraint(">= 1.11"); err != nil { | ||||
| 		return err | ||||
| 	} | ||||
|  | ||||
| 	if ctx.Args().Len() < 2 { | ||||
| 		return fmt.Errorf("No issue or time ID specified.\nUsage:\t%s", ctx.Command.UsageText) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 khmarbaise
					khmarbaise