Remove duplicated context data

This commit is contained in:
bytedream
2025-05-03 02:57:33 +02:00
parent 7684e1720d
commit dcaadb801f
-1
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)