aboutsummaryrefslogtreecommitdiff
path: root/internal/conf/conf.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/conf/conf.go')
-rw-r--r--internal/conf/conf.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/internal/conf/conf.go b/internal/conf/conf.go
index 99e9a325..fed5bca4 100644
--- a/internal/conf/conf.go
+++ b/internal/conf/conf.go
@@ -214,10 +214,6 @@ func Init(customConf string) error {
if err = File.Section("email").MapTo(&Email); err != nil {
return errors.Wrap(err, "mapping [email] section")
}
- // LEGACY [0.13]: In case there are values with old section name.
- if err = File.Section("mailer").MapTo(&Email); err != nil {
- return errors.Wrap(err, "mapping [mailer] section")
- }
if Email.Enabled {
if Email.From == "" {
@@ -238,10 +234,6 @@ func Init(customConf string) error {
if err = File.Section("auth").MapTo(&Auth); err != nil {
return errors.Wrap(err, "mapping [auth] section")
}
- // LEGACY [0.13]: In case there are values with old section name.
- if err = File.Section("service").MapTo(&Auth); err != nil {
- return errors.Wrap(err, "mapping [service] section")
- }
// *************************
// ----- User settings -----