projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comment
[freeside.git]
/
FS
/
FS
/
reason_type.pm
diff --git
a/FS/FS/reason_type.pm
b/FS/FS/reason_type.pm
index
482ea34
..
a603809
100644
(file)
--- a/
FS/FS/reason_type.pm
+++ b/
FS/FS/reason_type.pm
@@
-131,12
+131,7
@@
sub enabled_reasons {
} );
}
} );
}
-# _populate_initial_data
-#
# Used by FS::Setup to initialize a new database.
# Used by FS::Setup to initialize a new database.
-#
-#
-
sub _populate_initial_data { # class method
my ($self, %opts) = @_;
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;
# 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.
# Used by FS::Upgrade to migrate to a new database.
-#
-#
-
sub _upgrade_data { # class method
my ($self, %opts) = @_;
sub _upgrade_data { # class method
my ($self, %opts) = @_;