summaryrefslogtreecommitdiffstats
path: root/models/repo.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-24 21:02:49 +0800
committerUnknwon <u@gogs.io>2015-07-24 21:02:49 +0800
commitac95f6d50f674cae1a5ae3889fdf3c56eb7c005d (patch)
tree274c1e8087aca7b0a366eaf61b08fbd177a52a29 /models/repo.go
parent86dbda0b42d05caf11d5c6d040f18dfbcc742e04 (diff)
downloadgitea-ac95f6d50f674cae1a5ae3889fdf3c56eb7c005d.tar.gz
gitea-ac95f6d50f674cae1a5ae3889fdf3c56eb7c005d.zip
UI: basic label list
- create new label
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 4ee5c382fb..5610776a9f 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -876,7 +876,7 @@ func DeleteRepository(uid, repoID int64, userName string) error {
return err
}
for i := range issues {
- if _, err = sess.Delete(&Comment{IssueId: issues[i].Id}); err != nil {
+ if _, err = sess.Delete(&Comment{IssueId: issues[i].ID}); err != nil {
return err
}
}