diff options
Diffstat (limited to 'models/consistency.go')
-rw-r--r-- | models/consistency.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/consistency.go b/models/consistency.go index 30cafb7889..abef7243f1 100644 --- a/models/consistency.go +++ b/models/consistency.go @@ -117,7 +117,7 @@ func DeleteOrphanedIssues() error { var attachmentPaths []string for i := range ids { - paths, err := deleteIssuesByRepoID(db.GetEngine(ctx), ids[i]) + paths, err := deleteIssuesByRepoID(ctx, ids[i]) if err != nil { return err } |