1
0
Fork 0
forked from forgejo/forgejo

Add notice that LFS mirroring is not supported (#1251)

* Add notice that LFS mirroring is not supported

* Drop German translation
This commit is contained in:
Fabian Zaremba 2017-03-16 12:33:22 +01:00 committed by Lunny Xiao
parent 447c9b428f
commit f1d2f16b54
3 changed files with 6 additions and 1 deletions

View file

@ -153,6 +153,7 @@ func Migrate(ctx *context.Context) {
ctx.Data["private"] = ctx.User.LastRepoVisibility
ctx.Data["IsForcedPrivate"] = setting.Repository.ForcePrivate
ctx.Data["mirror"] = ctx.Query("mirror") == "1"
ctx.Data["LFSActive"] = setting.LFS.StartServer
ctxUser := checkContextUser(ctx, ctx.QueryInt64("org"))
if ctx.Written() {