From 805586c4ac6f472eb8883f6d7211173978fdf093 Mon Sep 17 00:00:00 2001 From: erickson Date: Fri, 3 Feb 2006 16:13:45 +0000 Subject: [PATCH] cleaned some git-svn-id: svn://svn.open-ils.org/ILS/trunk@2952 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Event.pm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Event.pm b/Open-ILS/src/perlmods/OpenILS/Event.pm index 8c62a99125..919d214ba2 100644 --- a/Open-ILS/src/perlmods/OpenILS/Event.pm +++ b/Open-ILS/src/perlmods/OpenILS/Event.pm @@ -28,15 +28,12 @@ sub new { throw OpenSRF::EX ("No event defined with textcode: $event") unless defined $e; - my $h = { ilsevent => $e, textcode => $event, %params }; - - return $h; + return { ilsevent => $e, textcode => $event, %params }; } sub _load_events { my $settings_client = OpenSRF::Utils::SettingsClient->new(); my $eventsxml = $settings_client->config_value( "ils_events" ); -# my $eventsxml = "/openils/conf/ils_events.xml"; if(!$eventsxml) { throw OpenSRF::EX ("No ils_events file found in settings config"); -- 2.43.2