Bug 26290: Make Koha::SMTP::Servers->get_default use koha-conf.xml
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Aug 2020 19:47:58 +0000 (16:47 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 2 Oct 2020 13:27:18 +0000 (15:27 +0200)
commit1d1dcc3f41f098616d7ca95176d8b815e281535d
tree98c676a6398d0a20c0adaab9eb95c477d4128863
parent59c1151618befae9977b0ed97253584bb44e6d04
Bug 26290: Make Koha::SMTP::Servers->get_default use koha-conf.xml

This patch makes the mentioned method use the configured entry in
koha-conf.xml if present, instead of the hardcoded one, which is kept
for people that carries an old koha-conf.xml

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/SMTP/Servers.pm
t/db_dependent/Koha/SMTP/Servers.t