Final round of db.DefaultContext refactor (#27587)

Last part of #27065
This commit is contained in:
JakobDev authored and GitHub committed 2023-10-14 08:37:24 +00:00
1 parent ae419fa494
commit 76a85a4ce9
64 files changed
+250 -242

No files matched your search

+1 -1
View File
@@ -448,7 +448,7 @@ func DeleteAuthSource(ctx *context.Context) {
return
}
if err = auth_service.DeleteSource(source); err != nil {
if err = auth_service.DeleteSource(ctx, source); err != nil {
if auth.IsErrSourceInUse(err) {
ctx.Flash.Error(ctx.Tr("admin.auths.still_in_used"))
} else {