summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-30 20:50:40 -0500
committerUnknwon <u@gogs.io>2015-11-30 20:50:40 -0500
commitd3a5ff7b6b16ea35bd31fcef902b08dcf266de9c (patch)
treec96d15783a1ceb0115cf15afc329444380ccda1b
parentdcb391d3415a84ec893d11b788f776ea89c301c3 (diff)
downloadgitea-d3a5ff7b6b16ea35bd31fcef902b08dcf266de9c.tar.gz
gitea-d3a5ff7b6b16ea35bd31fcef902b08dcf266de9c.zip
fix #2042
-rw-r--r--README.md2
-rw-r--r--gogs.go2
-rw-r--r--models/repo.go3
-rw-r--r--templates/.VERSION2
4 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index a2e06c6fc7..15fc77c5ec 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
![](public/img/gogs-large-resize.png)
-##### Current version: 0.7.22 Beta
+##### Current version: 0.7.24 Beta
<table>
<tr>
diff --git a/gogs.go b/gogs.go
index 253700b800..a7f6e7f5f0 100644
--- a/gogs.go
+++ b/gogs.go
@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
-const APP_VER = "0.7.22.1125 Beta"
+const APP_VER = "0.7.24.1130 Beta"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
diff --git a/models/repo.go b/models/repo.go
index bc8d4cd49b..da4ecdc8bc 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -1120,6 +1120,7 @@ func DeleteRepository(uid, repoID int64) error {
&Access{RepoID: repo.ID},
&Action{RepoID: repo.ID},
&Watch{RepoID: repoID},
+ &Star{RepoID: repoID},
&Mirror{RepoID: repoID},
&IssueUser{RepoID: repoID},
&Milestone{RepoID: repoID},
@@ -1571,7 +1572,7 @@ func CheckRepoStats() {
repoStatsCheck(checkers[i])
}
- // FIXME: use checker when v0.8, stop supporting old fork repo format.
+ // FIXME: use checker when v0.9, stop supporting old fork repo format.
// ***** START: Repository.NumForks *****
results, err := x.Query("SELECT repo.id FROM `repository` repo WHERE repo.num_forks!=(SELECT COUNT(*) FROM `repository` WHERE fork_id=repo.id)")
if err != nil {
diff --git a/templates/.VERSION b/templates/.VERSION
index e15b0b953e..2fb17edbd9 100644
--- a/templates/.VERSION
+++ b/templates/.VERSION
@@ -1 +1 @@
-0.7.22.1125 Beta \ No newline at end of file
+0.7.24.1130 Beta \ No newline at end of file