Added a couple of missing $dbh->disconnect lines that were logging errors

in apache log files.
This commit is contained in:
tonnesen 2001-02-05 17:47:58 +00:00
parent ad16590c11
commit ee184dc80b
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,7 @@ sub getbranches {
# (next) if ($branch->{'branchcode'} eq 'TR');
$branches{$branch->{'branchcode'}}=$branch;
}
$dbh->disconnect;
return (\%branches);
}
@ -83,6 +84,7 @@ sub getprinters {
while (my $printer=$sth->fetchrow_hashref) {
$printers{$printer->{'printqueue'}}=$printer;
}
$dbh->disconnect;
return (\%printers);
}