mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 10:54:06 +02:00
Backport #31164
This commit is contained in:
1 parent
f0d55e4819
commit
cc64d4d2b2
1 file changed
+1
-2
@@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user