From f34151bdb22c8160b0a6eafef20725ebae1768da Mon Sep 17 00:00:00 2001 From: KN4CK3R Date: Thu, 18 Nov 2021 18:42:27 +0100 Subject: Move user/org deletion to services (#17673) --- models/consistency.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/consistency.go') diff --git a/models/consistency.go b/models/consistency.go index 83cfbd0e49..ba669628b9 100644 --- a/models/consistency.go +++ b/models/consistency.go @@ -128,7 +128,7 @@ func DeleteOrphanedIssues() error { // Remove issue attachment files. for i := range attachmentPaths { - admin_model.RemoveAllWithNoticeCtx(db.DefaultContext, "Delete issue attachment", attachmentPaths[i]) + admin_model.RemoveAllWithNotice(db.DefaultContext, "Delete issue attachment", attachmentPaths[i]) } return nil } -- cgit v1.2.3