mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
remove lingering visibility
This commit is contained in:
parent
f54175de91
commit
06bffddf96
1 changed files with 0 additions and 1 deletions
|
@ -258,7 +258,6 @@ func MoveRepo(c *gin.Context) {
|
||||||
if repo.IsPrivate != from.IsPrivate {
|
if repo.IsPrivate != from.IsPrivate {
|
||||||
repo.ResetVisibility()
|
repo.ResetVisibility()
|
||||||
}
|
}
|
||||||
repo.Visibility = from.Visibility
|
|
||||||
|
|
||||||
errStore := store.UpdateRepo(c, repo)
|
errStore := store.UpdateRepo(c, repo)
|
||||||
if errStore != nil {
|
if errStore != nil {
|
||||||
|
|
Loading…
Reference in a new issue