summaryrefslogtreecommitdiffstats
path: root/routers/repo/editor.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/editor.go')
-rw-r--r--routers/repo/editor.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/repo/editor.go b/routers/repo/editor.go
index 97a3fea24c..ca15c6a3c1 100644
--- a/routers/repo/editor.go
+++ b/routers/repo/editor.go
@@ -474,7 +474,6 @@ func DeleteFilePost(ctx *context.Context, form auth.DeleteRepoFileForm) {
}
func renderUploadSettings(ctx *context.Context) {
- ctx.Data["RequireDropzone"] = true
ctx.Data["RequireTribute"] = true
ctx.Data["RequireSimpleMDE"] = true
ctx.Data["UploadAllowedTypes"] = strings.Join(setting.Repository.Upload.AllowedTypes, ",")