remove lingering visibility

This commit is contained in:
Joachim Hill-Grannec 2017-08-21 18:52:09 -04:00
parent f54175de91
commit 06bffddf96

View file

@ -258,7 +258,6 @@ func MoveRepo(c *gin.Context) {
if repo.IsPrivate != from.IsPrivate {
repo.ResetVisibility()
}
repo.Visibility = from.Visibility
errStore := store.UpdateRepo(c, repo)
if errStore != nil {