aboutsummaryrefslogtreecommitdiffstats
path: root/templates/mail
diff options
context:
space:
mode:
authorJason Song <i@wolfogre.com>2023-04-03 16:42:38 +0800
committerGitHub <noreply@github.com>2023-04-03 16:42:38 +0800
commitd67e40684f43b0eb744cad26e0265002f033dbc3 (patch)
tree5a930a4691124ae0c4114e8895966ac380d4f3a0 /templates/mail
parentca905b82df7f1d2a823d8df4448d485e5902876d (diff)
downloadgitea-d67e40684f43b0eb744cad26e0265002f033dbc3.tar.gz
gitea-d67e40684f43b0eb744cad26e0265002f033dbc3.zip
Improve LoadUnitConfig to handle invalid or duplicate units (#23736)
The old code just parses an invalid key to `TypeInvalid` and uses it as normal, and duplicate keys will be kept. So this PR will ignore invalid key and log warning and also deduplicate valid units.
Diffstat (limited to 'templates/mail')
0 files changed, 0 insertions, 0 deletions