summaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-04 22:24:04 +0800
committerUnknwon <u@gogs.io>2015-08-04 22:24:04 +0800
commit9311a9858ae4dd10450370da8a93c37c1dad798b (patch)
treef394b405e8973b917d2770b404cf8ede39dc73c0 /models/repo.go
parente7f015db8cd1d16fc630e14afe88763a5ca787a8 (diff)
downloadgitea-9311a9858ae4dd10450370da8a93c37c1dad798b.tar.gz
gitea-9311a9858ae4dd10450370da8a93c37c1dad798b.zip
milestone: pagination
Diffstat (limited to 'models/repo.go')
-rw-r--r--models/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo.go b/models/repo.go
index a2b29ff31b..25eb3a62ec 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -867,7 +867,7 @@ func DeleteRepository(uid, repoID int64, userName string) error {
return err
} else if _, err = sess.Delete(&IssueUser{RepoId: repoID}); err != nil {
return err
- } else if _, err = sess.Delete(&Milestone{RepoId: repoID}); err != nil {
+ } else if _, err = sess.Delete(&Milestone{RepoID: repoID}); err != nil {
return err
} else if _, err = sess.Delete(&Release{RepoId: repoID}); err != nil {
return err