summaryrefslogtreecommitdiffstats
path: root/models/org.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-15 00:02:03 +0800
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-02-15 01:17:07 +0100
commit9c645b54dcc3049a90de0c4d47c6efb0f8c1861d (patch)
treeb08d9dfcc9a6e1e7152f2d0da060ad63a3af34f9 /models/org.go
parentcf47532ebc57d31d854c2ba5b7d920c3f492913f (diff)
downloadgitea-9c645b54dcc3049a90de0c4d47c6efb0f8c1861d.tar.gz
gitea-9c645b54dcc3049a90de0c4d47c6efb0f8c1861d.zip
bug fixed on issues and pulls
Diffstat (limited to 'models/org.go')
-rw-r--r--models/org.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/models/org.go b/models/org.go
index 2adfacdc8b..9fd81c1c0a 100644
--- a/models/org.go
+++ b/models/org.go
@@ -657,7 +657,6 @@ func (env *accessibleReposEnv) Repos(page, pageSize int) ([]*Repository, error)
}
repos := make([]*Repository, 0, len(repoIDs))
-
if len(repoIDs) <= 0 {
return repos, nil
}