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:
parent
7684e1720d
commit
dcaadb801f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user