removing vestigial actor::profile stuff
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Aug 2006 15:06:17 +0000 (15:06 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 4 Aug 2006 15:06:17 +0000 (15:06 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@5295 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI.pm
Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/actor.pm
Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/dbi.pm
Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm

index 777a07e..2dbcef8 100644 (file)
@@ -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' );
index 9b00371..7f54777 100644 (file)
@@ -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;
 
index 86d1cef..fe40dc0 100644 (file)
        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' );
index 4722388..975259a 100644 (file)
@@ -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;