Fixed Lint

Signed-off-by: Konrad <konrad@kola-entertainments.de>
This commit is contained in:
Konrad Langenberg 2017-09-24 13:25:55 +02:00 committed by Konrad
parent 5fde62ba3a
commit ae522299b9

View File

@ -122,16 +122,18 @@ func issueDepExists(e Engine, issueID int64, depID int64) (exists bool, err erro
return exists, nil
}
// IssueNoDependenciesLeft checks if issue can be closed
// IssueDependencyIssue custom type for mysql join
type IssueDependencyIssue struct {
IssueDependency `xorm:"extends"`
Issue `xorm:"extends"`
}
// TableName returns table name for mysql join
func (IssueDependencyIssue) TableName() string {
return "issue_dependency"
}
// IssueNoDependenciesLeft checks if issue can be closed
func IssueNoDependenciesLeft(issue *Issue) bool {
var issueDeps []IssueDependencyIssue