[open-ils-commits] r19999 - branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/SIP (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 6 14:37:21 EDT 2011
Author: miker
Date: 2011-04-06 14:37:16 -0400 (Wed, 06 Apr 2011)
New Revision: 19999
Modified:
branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
Log:
Patch from Thomas Berezansky to support patron priv expiration information in SIP2
Modified: branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
===================================================================
--- branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm 2011-04-06 18:36:38 UTC (rev 19998)
+++ branches/rel_2_1/Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm 2011-04-06 18:37:16 UTC (rev 19999)
@@ -240,6 +240,13 @@
return $dob;
}
+sub sip_expire {
+ my $self = shift;
+ my $expire = OpenILS::SIP->format_date($self->{user}->expire_date);
+ syslog('LOG_DEBUG', "OILS: Patron Expire = $expire");
+ return $expire;
+}
+
sub ptype {
my $self = shift;
More information about the open-ils-commits
mailing list