1 package FS::part_event::Action::unsuspend;
4 use base qw( FS::part_event::Action );
6 sub description { 'Unsuspend all of this customer\'s suspended packages'; }
8 sub default_weight { 11; }
11 my( $self, $cust_object ) = @_;
13 my $cust_main = $self->cust_main($cust_object);
15 my @err = $cust_main->unsuspend();
17 die join(' / ', @err) if scalar(@err);