aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/attachment.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/attachment.go')
-rw-r--r--routers/repo/attachment.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/repo/attachment.go b/routers/repo/attachment.go
index f938c230ed..51725100b8 100644
--- a/routers/repo/attachment.go
+++ b/routers/repo/attachment.go
@@ -18,7 +18,6 @@ import (
)
func renderAttachmentSettings(ctx *context.Context) {
- ctx.Data["RequireDropzone"] = true
ctx.Data["IsAttachmentEnabled"] = setting.AttachmentEnabled
ctx.Data["AttachmentAllowedTypes"] = setting.AttachmentAllowedTypes
ctx.Data["AttachmentMaxSize"] = setting.AttachmentMaxSize