aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/repo/projects.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/web/repo/projects.go')
-rw-r--r--routers/web/repo/projects.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/web/repo/projects.go b/routers/web/repo/projects.go
index 73f0916346..75cd290b8f 100644
--- a/routers/web/repo/projects.go
+++ b/routers/web/repo/projects.go
@@ -196,7 +196,7 @@ func DeleteProject(ctx *context.Context) {
return
}
- if err := project_model.DeleteProjectByID(p.ID); err != nil {
+ if err := project_model.DeleteProjectByID(ctx, p.ID); err != nil {
ctx.Flash.Error("DeleteProjectByID: " + err.Error())
} else {
ctx.Flash.Success(ctx.Tr("repo.projects.deletion_success"))