diff options
author | Unknwon <u@gogs.io> | 2015-08-04 22:24:04 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-04 22:24:04 +0800 |
commit | 9311a9858ae4dd10450370da8a93c37c1dad798b (patch) | |
tree | f394b405e8973b917d2770b404cf8ede39dc73c0 /models/repo.go | |
parent | e7f015db8cd1d16fc630e14afe88763a5ca787a8 (diff) | |
download | gitea-9311a9858ae4dd10450370da8a93c37c1dad798b.tar.gz gitea-9311a9858ae4dd10450370da8a93c37c1dad798b.zip |
milestone: pagination
Diffstat (limited to 'models/repo.go')
-rw-r--r-- | models/repo.go | 2 |
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 |