Fix TODO.

This commit is contained in:
shimamoto
2014-07-14 00:08:34 +09:00
parent 8f0c22bae9
commit 01f6590c04
3 changed files with 0 additions and 3 deletions

View File

@@ -49,7 +49,6 @@ trait IssuesService {
*/
def countIssue(condition: IssueSearchCondition, filterUser: Map[String, String], onlyPullRequest: Boolean,
repos: (String, String)*)(implicit s: Session): Int =
// TODO check SQL
Query(searchIssueQuery(repos, condition, filterUser, onlyPullRequest).length).first
/**

View File

@@ -290,7 +290,6 @@ trait RepositoryService { self: AccountService =>
}
private def getForkedCount(userName: String, repositoryName: String)(implicit s: Session): Int =
// TODO check SQL
Query(Repositories.filter { t =>
(t.originUserName is userName.bind) && (t.originRepositoryName is repositoryName.bind)
}.length).first