Removed unused named returns
This commit is contained in:
parent
3beecd2d13
commit
4e9e1f8d83
|
|
@ -125,9 +125,9 @@ func (IssueDependencyIssue) TableName() string {
|
|||
}
|
||||
|
||||
// IssueNoDependenciesLeft checks if issue can be closed
|
||||
func IssueNoDependenciesLeft(issue *Issue) (exists bool, err error) {
|
||||
func IssueNoDependenciesLeft(issue *Issue) (bool, error) {
|
||||
|
||||
exists, err = x.
|
||||
exists, err := x.
|
||||
Join("INNER", "issue", "issue.id = issue_dependency.dependency_id").
|
||||
Where("issue_dependency.issue_id = ?", issue.ID).
|
||||
And("issue.is_closed = ?", "0").
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user