File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -207,11 +207,6 @@ func handleSettingsPostUpdate(ctx *context.Context) {
207207 repo .Website = form .Website
208208 repo .IsTemplate = form .Template
209209
210- // Visibility of forked repository is forced sync with base repository.
211- if repo .IsFork {
212- form .Private = repo .BaseRepo .IsPrivate || repo .BaseRepo .Owner .Visibility == structs .VisibleTypePrivate
213- }
214-
215210 if err := repo_service .UpdateRepository (ctx , repo , false ); err != nil {
216211 ctx .ServerError ("UpdateRepository" , err )
217212 return
Original file line number Diff line number Diff line change @@ -104,7 +104,6 @@ type RepoSettingForm struct {
104104 PushMirrorPassword string
105105 PushMirrorSyncOnCommit bool
106106 PushMirrorInterval string
107- Private bool
108107 Template bool
109108 EnablePrune bool
110109
@@ -148,8 +147,6 @@ type RepoSettingForm struct {
148147 AllowOnlyContributorsToTrackTime bool
149148 EnableIssueDependencies bool
150149
151- IsArchived bool
152-
153150 // Signing Settings
154151 TrustModel string
155152
You can’t perform that action at this time.
0 commit comments