From: Joe Atzberger (siptest Date: Wed, 4 Jun 2008 23:14:45 +0000 (-0500) Subject: Object oriented module is not an Exporter. 2 subs added, also. X-Git-Tag: v3.00.00-stableRC1~198 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=2cc75039d8cc3f55d974879e4caa4472a50af33f;p=koha.git Object oriented module is not an Exporter. 2 subs added, also. Signed-off-by: Joshua Ferraro --- diff --git a/C4/SIP/Sip/Configuration/Institution.pm b/C4/SIP/Sip/Configuration/Institution.pm index f31ecc8924..cdd8a08d56 100644 --- a/C4/SIP/Sip/Configuration/Institution.pm +++ b/C4/SIP/Sip/Configuration/Institution.pm @@ -8,7 +8,7 @@ package Sip::Configuration::Institution; use strict; use warnings; use English; -use Exporter; +# use Exporter; sub new { my ($class, $obj) = @_; @@ -24,8 +24,17 @@ sub new { sub name { my $self = shift; - return $self->{name}; } +sub policy { + my $self = shift; + return $self->{policy}; +} + +sub parms { + my $self = shift; + return $self->{parms}; +} + 1;