Browse Source

Update closed issues stats for repository

tags/v1.2.0-rc1
Justin Nuß 11 years ago
parent
commit
c850c01007
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      models/action.go

+ 6
- 0
models/action.go View File

@@ -130,6 +130,12 @@ func updateIssuesCommit(repoUserName, repoName string, commits []*base.PushCommi
return err
}

issue.Repo.NumClosedIssues++

if err = UpdateRepository(issue.Repo); err != nil {
return err
}

if err = ChangeMilestoneIssueStats(issue); err != nil {
return err
}


Loading…
Cancel
Save