remove session from WebGUI::SQL
This commit is contained in:
parent
4959bfc979
commit
1f201260ba
4 changed files with 10 additions and 42 deletions
|
|
@ -240,7 +240,7 @@ sub db {
|
|||
else {
|
||||
my ($scheme, $driver, $attr_string, $attr_hash, $driver_dsn) = DBI->parse_dsn($dsn);
|
||||
if ($driver) {
|
||||
my $dbh = WebGUI::SQL->connect($self->session,$dsn,$username,$identifier,$parameters);
|
||||
my $dbh = WebGUI::SQL->connect($dsn,$username,$identifier,$parameters);
|
||||
unless (defined $dbh) {
|
||||
$self->session->log->warn("Cannot connect to DatabaseLink [".$self->getId."]");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue