Fixed Lint
Signed-off-by: Konrad <konrad@kola-entertainments.de>
This commit is contained in:
parent
5fde62ba3a
commit
ae522299b9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user