aboutsummaryrefslogtreecommitdiffstats
path: root/routers/org
diff options
context:
space:
mode:
Diffstat (limited to 'routers/org')
-rw-r--r--routers/org/teams.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/routers/org/teams.go b/routers/org/teams.go
index 80309dff44..1c09737997 100644
--- a/routers/org/teams.go
+++ b/routers/org/teams.go
@@ -288,8 +288,6 @@ func EditTeamPost(ctx *context.Context, form auth.CreateTeamForm) {
})
}
models.UpdateTeamUnits(t, units)
- } else {
- models.UpdateTeamUnits(t, nil)
}
if ctx.HasError() {