More refactoring of db.DefaultContext (#27083)

Next step of #27065
This commit is contained in:
JakobDev authored and GitHub committed 2023-09-15 06:13:19 +00:00
1 parent f8a1094406
commit c548dde205
83 files changed
+336 -320

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ func PrepareContextForProfileBigAvatar(ctx *context.Context) {
ctx.Data["ShowUserEmail"] = setting.UI.ShowUserEmail && ctx.ContextUser.Email != "" && ctx.IsSigned && !ctx.ContextUser.KeepEmailPrivate
// Show OpenID URIs
openIDs, err := user_model.GetUserOpenIDs(ctx.ContextUser.ID)
openIDs, err := user_model.GetUserOpenIDs(ctx, ctx.ContextUser.ID)
if err != nil {
ctx.ServerError("GetUserOpenIDs", err)
return