mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-07 10:05:55 +02:00
Overall Done for Global Repo Size Limit Option
This commit is contained in:
committed by
DmitryFrolovTri
parent
66c476e5de
commit
d843a6736b
@@ -66,9 +66,6 @@ func UpdateRepoPost(ctx *context.Context) {
|
||||
}
|
||||
|
||||
setting.SaveGlobalRepositorySetting(form.EnableSizeLimit, repo_size_limit)
|
||||
ctx.Flash.Success(ctx.Tr("admin.config.repository_setting_success"))
|
||||
|
||||
ctx.Data["RepoSizeLimit"] = base.FileSize(setting.RepoSizeLimit)
|
||||
|
||||
ctx.Flash.Success(ctx.Tr("admin.config.repository_setting_success"))
|
||||
ctx.Redirect(setting.AppSubURL + "/admin/repos")
|
||||
|
||||
Reference in New Issue
Block a user