X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Freason_type.pm;h=a603809e266e07229ff75e5377452f3816fb178f;hb=2e7ce01632012ccc0dd440a8bc37a9ec9bd55fac;hp=193d47e532a43d7f5cf959755ee47fdf0b8b9d04;hpb=e8a09e945986a32f9b7d0a5d546142ada91654ca;p=freeside.git diff --git a/FS/FS/reason_type.pm b/FS/FS/reason_type.pm index 193d47e53..a603809e2 100644 --- a/FS/FS/reason_type.pm +++ b/FS/FS/reason_type.pm @@ -13,9 +13,9 @@ our %class_name = ( ); our %class_purpose = ( - 'C' => 'explain why we cancel a package', - 'R' => 'explain why we credit a customer', - 'S' => 'explain why we suspend a package', + 'C' => 'explain why a customer package was cancelled', + 'R' => 'explain why a customer was credited', + 'S' => 'explain why a customer package was suspended', ); =head1 NAME @@ -131,12 +131,7 @@ sub enabled_reasons { } ); } -# _populate_initial_data -# # Used by FS::Setup to initialize a new database. -# -# - sub _populate_initial_data { # class method my ($self, %opts) = @_; @@ -162,21 +157,14 @@ sub _populate_initial_data { # class method # my $error = $object->insert(); # die "error inserting $self into database: $error\n" # if $error; -# # or clause for 1.7.x - $conf->set($_, $object->typenum) - or die "failed setting config"; + $conf->set($_, $object->typenum); } ''; } -# _upgrade_data -# # Used by FS::Upgrade to migrate to a new database. -# -# - sub _upgrade_data { # class method my ($self, %opts) = @_;