summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-01 05:24:34 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-01 05:24:34 +0000
commitd1eef00925161c3fc0a148a44bd2d88c864e81ef (patch)
tree778c24ef679ce011e711055f4b595807ee9efa65 /LedgerSMB
parent0f1d9536c4e929d963f135b7a37dd6572014f4d8 (diff)
Merged Pg-tables, functions, and indeces into Pg-database.sql
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@449 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/User.pm9
1 files changed, 1 insertions, 8 deletions
diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm
index a16cf7d5..67249a04 100755
--- a/LedgerSMB/User.pm
+++ b/LedgerSMB/User.pm
@@ -367,13 +367,9 @@ sub dbcreate {
? 'Pg'
: $form->{dbdriver};
- my $filename = qq|sql/${dbdriver}-tables.sql|;
+ my $filename = qq|sql/Pg-database.sql|;
$self->process_query($form, $dbh, $filename);
- # create functions
- $filename = qq|sql/${dbdriver}-functions.sql|;
- $self->process_query($form, $dbh, $filename);
-
# load gifi
($filename) = split /_/, $form->{chart};
$filename =~ s/_//;
@@ -383,9 +379,6 @@ sub dbcreate {
$filename = qq|sql/$form->{chart}-chart.sql|;
$self->process_query($form, $dbh, $filename);
- # create indices
- $filename = qq|sql/${dbdriver}-indices.sql|;
- $self->process_query($form, $dbh, $filename);
# create custom tables and functions
my $item;