[open-ils-commits] r10585 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Sep 12 09:54:24 EDT 2008


Author: erickson
Date: 2008-09-12 09:54:20 -0400 (Fri, 12 Sep 2008)
New Revision: 10585

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Merge.pm
Log:
fixing typos and thinkos

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm	2008-09-11 21:28:43 UTC (rev 10584)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm	2008-09-12 13:54:20 UTC (rev 10585)
@@ -1,5 +1,6 @@
 package OpenILS::Application::Cat::Authority;
 use strict; use warnings;
+use base qw/OpenILS::Application/;
 use OpenILS::Utils::CStoreEditor q/:funcs/;
 use OpenSRF::Utils::Logger qw($logger);
 use OpenILS::Application::AppUtils;
@@ -29,7 +30,7 @@
     my($self, $conn, $auth, $marc_xml, $source) = @_;
 	my $e = new_editor(authtoken=>$auth, xact=>1);
 	return $e->die_event unless $e->checkauth;
-	return $e->die_event unless $e->allowed('CREATE_AUTHORITY_RECORD')
+	return $e->die_event unless $e->allowed('CREATE_AUTHORITY_RECORD');
     
     my $marc_doc = marc_xml_to_doc($marc_xml);
     my $rec = Fieldmapper::authority::record_entry->new;
@@ -55,7 +56,7 @@
 	api_name	=> 'open-ils.cat.authority.record.overlay',
 );
 
-sub import_authority_record {
+sub overlay_authority_record {
     my($self, $conn, $auth, $rec_id, $marc_xml, $source) = @_;
 	my $e = new_editor(authtoken=>$auth, xact=>1);
 	return $e->die_event unless $e->checkauth;
@@ -98,7 +99,7 @@
 }
 
 __PACKAGE__->register_method(
-	method	=> 'retrieve_batch_authority_record',
+	method	=> 'batch_retrieve_authority_record',
 	api_name	=> 'open-ils.cat.authority.record.batch.retrieve',
     stream => 1,
     signature => {
@@ -109,7 +110,7 @@
         ]
     }
 );
-sub retrieve_authority_record {
+sub batch_retrieve_authority_record {
     my($self, $conn, $auth, $rec_id_list, $options) = @_;
 	my $e = new_editor(authtoken=>$auth);
 	return $e->die_event unless $e->checkauth;
@@ -121,3 +122,4 @@
     return undef;
 }
 
+1;

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Merge.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Merge.pm	2008-09-11 21:28:43 UTC (rev 10584)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Cat/Merge.pm	2008-09-12 13:54:20 UTC (rev 10585)
@@ -3,7 +3,6 @@
 use base qw/OpenILS::Application/;
 use OpenSRF::Application;
 use OpenILS::Application::AppUtils;
-use OpenILS::Application::Cat::Utils;
 use OpenSRF::EX qw(:try);
 use OpenILS::Utils::Fieldmapper;
 use OpenILS::Event;



More information about the open-ils-commits mailing list