Merge branch 'patch-19' of https://github.com/gjones2/Freeside
[freeside.git] / FS / FS / reason_type.pm
index 482ea34..a603809 100644 (file)
@@ -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) = @_;