mirror of https://github.com/go-gitea/gitea
Commit
This commit is contained in:
parent
f7a4c9e0aa
commit
e187364d7a
|
@ -779,7 +779,7 @@ func ChangeIssueTitle(issue *Issue, doer *user_model.User, oldTitle string) (err
|
|||
}
|
||||
|
||||
// ChangeIssuePlanTime changes the plan time of this issue, as the given user.
|
||||
func ChangeIssuePlanTime(issue *Issue, doer *user_model.User, planTimeHours int, planTimeMinutes int) (err error) {
|
||||
func ChangeIssuePlanTime(issue *Issue, doer *user_model.User, planTimeHours, planTimeMinutes int) (err error) {
|
||||
ctx, committer, err := db.TxContext(db.DefaultContext)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
@ -62,7 +62,7 @@ func ChangeTitle(issue *issues_model.Issue, doer *user_model.User, title string)
|
|||
}
|
||||
|
||||
// ChangeTitle changes the title of this issue, as the given user.
|
||||
func ChangePlanTime(issue *issues_model.Issue, doer *user_model.User, planTimeHours int, planTimeMinutes int) (err error) {
|
||||
func ChangePlanTime(issue *issues_model.Issue, doer *user_model.User, planTimeHours, planTimeMinutes int) (err error) {
|
||||
issue.PlanTimeHours = planTimeHours
|
||||
issue.PlanTimeMinutes = planTimeMinutes
|
||||
|
||||
|
|
Loading…
Reference in New Issue