From 2cc75039d8cc3f55d974879e4caa4472a50af33f Mon Sep 17 00:00:00 2001 From: "Joe Atzberger (siptest" Date: Wed, 4 Jun 2008 18:14:45 -0500 Subject: [PATCH] Object oriented module is not an Exporter. 2 subs added, also. Signed-off-by: Joshua Ferraro --- C4/SIP/Sip/Configuration/Institution.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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; -- 2.39.5