1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-04 08:38:37 +00:00
This commit is contained in:
Unknown
2014-04-13 05:02:11 -04:00
parent ea74be2f2e
commit 4c1452574a
5 changed files with 3 additions and 23 deletions

View File

@@ -11,11 +11,6 @@ import (
)
func Home(ctx *middleware.Context) {
if ctx.Query("go-get") == "1" {
ctx.Write(base.GetGoGetMetaList())
return
}
if ctx.IsSigned {
user.Dashboard(ctx)
return

View File

@@ -107,10 +107,6 @@ func MigratePost(ctx *middleware.Context, form auth.MigrateRepoForm) {
}
func Single(ctx *middleware.Context, params martini.Params) {
if ctx.Query("go-get") == "1" {
base.GoGetMetas[strings.TrimSuffix(ctx.Repo.CloneLink.HTTPS, ".git")] = true
}
branchName := ctx.Repo.BranchName
userName := ctx.Repo.Owner.Name
repoName := ctx.Repo.Repository.Name