We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbc3145 commit 78932e5Copy full SHA for 78932e5
routers/web/repo/setting/setting.go
@@ -207,11 +207,6 @@ func handleSettingsPostUpdate(ctx *context.Context) {
207
repo.Website = form.Website
208
repo.IsTemplate = form.Template
209
210
- // Visibility of forked repository is forced sync with base repository.
211
- if repo.IsFork {
212
- repo.IsPrivate = repo.BaseRepo.IsPrivate || repo.BaseRepo.Owner.Visibility == structs.VisibleTypePrivate
213
- }
214
-
215
if err := repo_service.UpdateRepository(ctx, repo, false); err != nil {
216
ctx.ServerError("UpdateRepository", err)
217
return
0 commit comments