From: miker Date: Fri, 4 Aug 2006 15:06:17 +0000 (+0000) Subject: removing vestigial actor::profile stuff X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c9df334284852ab3aa14adc6607e23d4cd5fddfc;p=Evergreen.git removing vestigial actor::profile stuff git-svn-id: svn://svn.open-ils.org/ILS/trunk@5295 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI.pm index 777a07e196..2dbcef8375 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI.pm @@ -583,7 +583,6 @@ sub modify_from_fieldmapper { actor::user->has_many( cards => 'actor::card' ); actor::org_unit->has_many( users => 'actor::user' ); - actor::profile->has_many( users => 'actor::user' ); action::survey->has_many( questions => 'action::survey_question' ); action::survey->has_many( responses => 'action::survey_response' ); diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm index 9b00371b09..7f5477741c 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm @@ -53,14 +53,6 @@ __PACKAGE__->columns( Primary => qw/id/); __PACKAGE__->columns( Essential => qw/usr name value/); #------------------------------------------------------------------------------- -package actor::profile; -use base qw/actor/; - -__PACKAGE__->table( 'actor_profile' ); -__PACKAGE__->columns( Primary => qw/id/); -__PACKAGE__->columns( Essential => qw/name/); - -#------------------------------------------------------------------------------- package actor::org_unit_type; use base qw/actor/; @@ -172,13 +164,5 @@ __PACKAGE__->columns( Essential => qw/valid address_type org_unit street1 street city county state country post_code/ ); #------------------------------------------------------------------------------- -package actor::profile; -use base qw/actor/; - -__PACKAGE__->table( 'actor_profile' ); -__PACKAGE__->columns( Primary => qw/id/ ); -__PACKAGE__->columns( Essential => qw/name/ ); - -#------------------------------------------------------------------------------- 1; diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm index 86d1cef55d..fe40dc0048 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm @@ -383,12 +383,6 @@ actor::org_address->sequence( 'actor.org_address_id_seq' ); #--------------------------------------------------------------------- - package actor::profile; - - actor::profile->table( 'actor.profile' ); - actor::profile->sequence( 'actor.profile_id_seq' ); - - #--------------------------------------------------------------------- package actor::org_unit_type; actor::org_unit_type->table( 'actor.org_unit_type' ); diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm index 4722388857..975259ac5c 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm @@ -557,23 +557,6 @@ __PACKAGE__->register_method( method => 'org_unit_descendants', ); -sub profile_all { - my $self = shift; - my $client = shift; - - for my $rec ( actor::profile->retrieve_all ) { - $client->respond( $rec->to_fieldmapper ); - } - - return undef; -} -__PACKAGE__->register_method( - method => 'profile_all', - api_name => 'open-ils.storage.direct.actor.profile.retrieve.all', - argc => 0, - stream => 1, -); - sub fleshed_actor_stat_cat { my $self = shift; my $client = shift;