summaryrefslogtreecommitdiffstats
path: root/routers/web/org/teams.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/org/teams.go')
-rw-r--r--routers/web/org/teams.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/web/org/teams.go b/routers/web/org/teams.go
index 2fc72f0620..28ffac4dd3 100644
--- a/routers/web/org/teams.go
+++ b/routers/web/org/teams.go
@@ -91,7 +91,6 @@ func TeamsAction(ctx *context.Context) {
return
}
err = ctx.Org.Team.RemoveMember(uid)
- page = "team"
if err != nil {
if models.IsErrLastOrgOwner(err) {
ctx.Flash.Error(ctx.Tr("form.last_org_owner"))