0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-21 21:04:40 +02:00

Remove duplicated context data

This commit is contained in:
bytedream 2025-05-03 02:57:33 +02:00
parent 7684e1720d
commit dcaadb801f

View File

@ -154,7 +154,6 @@ func editFile(ctx *context.Context, isNewFile bool) {
defer dataRc.Close()
ctx.Data["IsFileTooLarge"] = blob.Size() >= setting.UI.MaxDisplayFileSize
ctx.Data["FileSize"] = blob.Size()
buf := make([]byte, 1024)