summaryrefslogtreecommitdiff
path: root/LedgerSMB/Auth/DB.pm
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB/Auth/DB.pm')
-rwxr-xr-xLedgerSMB/Auth/DB.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/Auth/DB.pm b/LedgerSMB/Auth/DB.pm
index b24fd6d1..747d4d82 100755
--- a/LedgerSMB/Auth/DB.pm
+++ b/LedgerSMB/Auth/DB.pm
@@ -209,7 +209,7 @@ sub session_destroy {
$login =~ s/[^a-zA-Z0-9._+\@'-]//g;
# use the central database handle
- my $dbh = ${LedgerSMB::Sysconfig::GLOBALDBH};
+ my $dbh = $form->{dbh};
my $deleteExisting = $dbh->prepare( "
DELETE FROM session