From 5e8d69d78991e50d61e87c32cb16e5521a98f428 Mon Sep 17 00:00:00 2001 From: miker Date: Tue, 28 Jun 2005 14:28:39 +0000 Subject: [PATCH] typo... git-svn-id: svn://svn.open-ils.org/ILS/trunk@943 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../OpenILS/Application/Storage/Publisher.pm | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher.pm index f516660b07..39faec1f7d 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher.pm @@ -332,24 +332,23 @@ for my $fmclass ( (Fieldmapper->classes) ) { } for my $field ($fmclass->real_fields) { - unless ( __PACKAGE__->is_registered( $api_prefix.'.search.'.$field ) ) { - __PACKAGE__->register_method( - api_name => $api_prefix.'.search.'.$field, - method => 'search_one_field', - api_level => 1, - cdbi => $cdbi, - cachable => 1, - ); - } - unless ( __PACKAGE__->is_registered( $api_prefix.'.search_like.'.$field ) ) { - __PACKAGE__->register_method( - api_name => $api_prefix.'.search_like.'.$field, - method => 'search_one_field', - api_level => 1, - cdbi => $cdbi, - cachable => 1, - ); - } + unless ( __PACKAGE__->is_registered( $api_prefix.'.search.'.$field ) ) { + __PACKAGE__->register_method( + api_name => $api_prefix.'.search.'.$field, + method => 'search_one_field', + api_level => 1, + cdbi => $cdbi, + cachable => 1, + ); + } + unless ( __PACKAGE__->is_registered( $api_prefix.'.search_like.'.$field ) ) { + __PACKAGE__->register_method( + api_name => $api_prefix.'.search_like.'.$field, + method => 'search_one_field', + api_level => 1, + cdbi => $cdbi, + cachable => 1, + ); } } -- 2.43.2