[open-ils-commits] r18777 - branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/SIP (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Nov 18 09:57:31 EST 2010
Author: erickson
Date: 2010-11-18 09:57:29 -0500 (Thu, 18 Nov 2010)
New Revision: 18777
Modified:
branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm
Log:
back-porting 17292: added custom internal_id handler to SIP patron module
Modified: branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm
===================================================================
--- branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm 2010-11-18 14:32:07 UTC (rev 18776)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/SIP/Patron.pm 2010-11-18 14:57:29 UTC (rev 18777)
@@ -116,6 +116,11 @@
$addr->post_code);
}
+sub internal_id {
+ my $self = shift;
+ return $self->{user}->id;
+}
+
sub address {
my $self = shift;
my $u = $self->{user};
More information about the open-ils-commits
mailing list