mirror of
https://github.com/go-gitea/gitea
synced 2024-11-14 22:11:32 +01:00
parent
ce751761ce
commit
d612a24e3e
1 changed files with 1 additions and 2 deletions
|
@ -1047,8 +1047,7 @@ func renderHomeCode(ctx *context.Context) {
|
||||||
baseRepoPerm.CanRead(unit_model.TypePullRequests) {
|
baseRepoPerm.CanRead(unit_model.TypePullRequests) {
|
||||||
ctx.Data["RecentlyPushedNewBranches"], err = git_model.FindRecentlyPushedNewBranches(ctx, ctx.Doer, opts)
|
ctx.Data["RecentlyPushedNewBranches"], err = git_model.FindRecentlyPushedNewBranches(ctx, ctx.Doer, opts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.ServerError("FindRecentlyPushedNewBranches", err)
|
log.Error("FindRecentlyPushedNewBranches failed: %v", err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue