summaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-05 20:23:08 +0800
committerUnknwon <u@gogs.io>2015-08-05 20:23:08 +0800
commit0705f55ce097b9892a7c4c11faa5396c4e557232 (patch)
treebbd95cb8bbe5bf1fb76b35417d686d4178050d57 /models/repo.go
parent6d2f25b9f597cb06e7c686bc837e622f059441fb (diff)
downloadgitea-0705f55ce097b9892a7c4c11faa5396c4e557232.tar.gz
gitea-0705f55ce097b9892a7c4c11faa5396c4e557232.zip
finish new milestone page
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 25eb3a62ec..1e6ef0c3db 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -886,7 +886,7 @@ func DeleteRepository(uid, repoID int64, userName string) error {
}
}
- if _, err = sess.Delete(&Issue{RepoId: repoID}); err != nil {
+ if _, err = sess.Delete(&Issue{RepoID: repoID}); err != nil {
return err
}