From 06e1d09e365c9c70c546bd6781e313b8daf8774d Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 1 May 2017 14:47:58 -0400 Subject: [PATCH] LP#1667221: (follow-up) remove comment that is now a lie Also, here's a test plan: [1] Edit /openils/conf/oils_sip.xml and set the currency defined in the implementation section to be something other than USD. [2] Start the SIP server and perform a patron information request; note that the BH field in the response contains 'USD'. [3] Apply the patch and restart the SIP server. [4] Repeat step 2; this time, the currency should be whatever is specified in oils_sip.xml. [5] Comment out the currency section in oils_sip.xml and restart the SIP server. [6] Repeat step 2; this time, the currency should be back to 'USD'. Signed-off-by: Galen Charlton --- Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm index 706db2c7fb..34972ccb6d 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm @@ -427,7 +427,7 @@ sub check_password { $self->{editor},$self->{user}->id, $pwd); } -sub currency { # not really implemented +sub currency { my $self = shift; syslog('LOG_DEBUG', 'OILS: Patron->currency()'); return OpenILS::SIP->config()->{implementation_config}->{currency} || 'USD'; -- 2.43.2