mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-02 17:57:09 +02:00
Remove duplicated context data
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user