X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FSetup.pm;h=fec1c2d08eaf55db584d592e23044b2a052c3e10;hb=83053569b3d965924e2e1d4f5b199609ec7c29af;hp=29ca9a8723dd9437c3b7938aab526d23ea39cd59;hpb=2482fb7ace7c113044ad4b3497bb9afaf422a699;p=freeside.git diff --git a/FS/FS/Setup.pm b/FS/FS/Setup.pm index 29ca9a872..fec1c2d08 100644 --- a/FS/FS/Setup.pm +++ b/FS/FS/Setup.pm @@ -53,6 +53,8 @@ sub create_initial_data { populate_access(); populate_msgcat(); + + populate_numbering(); if ( $oldAutoCommit ) { dbh->commit or die dbh->errstr; @@ -60,6 +62,11 @@ sub create_initial_data { } +sub populate_numbering { + eval "use FS::lata_Data;"; # this automatically populates the lata table, if unpopulated + eval "use FS::msa_Data;"; # this automatically populates the msa table, if unpopulated +} + sub populate_locales { use Locale::Country; @@ -96,7 +103,7 @@ sub populate_addl_locales { sub _add_country { - use Locale::SubCountry; + use Locale::SubCountry 1.44; my( $country ) = shift;