]> git.koha-community.org Git - koha.git/commit
Bug 26595: Add Koha::Library->smtp_server_info
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 1 Oct 2020 15:06:13 +0000 (12:06 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Oct 2020 13:53:38 +0000 (15:53 +0200)
commit0c4c9764db9c1946df0781227df6d3147c744301
tree85290efd17cbac3ce9e78582f6784a4ea1d5ff93
parent98b584d97f919b610be501faa23730da1d87b303
Bug 26595: Add Koha::Library->smtp_server_info

This patch adds a method for retrieving brief information about the
linked (or not) SMTP server for embedding on API requests.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Library.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Library.pm
t/db_dependent/Koha/Library.t