9207331f4d
Apparently, we didn't backport one of the refactoring PRs which caused the fixup we backported to fail. Fixes: https://github.com/go-gitea/gitea/issues/27473