import torrus 1.0.9
[freeside.git] / FS / FS / reason_type.pm
index 193d47e..4425c64 100644 (file)
@@ -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
@@ -162,9 +162,7 @@ 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);
   }
 
   '';