From: Sven Schöling Date: Tue, 16 Aug 2016 11:25:13 +0000 (+0200) Subject: task_Server: single-dbh X-Git-Tag: release-3.5.4~2071 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=50119c7a12c7d6f1502223315fb8620ac2f6378a;p=kivitendo-erp.git task_Server: single-dbh --- diff --git a/scripts/task_server.pl b/scripts/task_server.pl index c946371d0..d4e9f94db 100755 --- a/scripts/task_server.pl +++ b/scripts/task_server.pl @@ -94,8 +94,7 @@ sub initialize_kivitendo { } sub cleanup_kivitendo { - eval { SL::DB::Auth->new->db->dbh->rollback; }; - eval { SL::DB::BackgroundJob->new->db->dbh->rollback; }; + eval { SL::DB->client->dbh->rollback; }; $::auth->save_session; $::auth->expire_sessions;