projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180163a
)
task_Server: single-dbh
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 16 Aug 2016 11:25:13 +0000
(13:25 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 2 Sep 2016 12:21:30 +0000
(14:21 +0200)
scripts/task_server.pl
patch
|
blob
|
history
diff --git
a/scripts/task_server.pl
b/scripts/task_server.pl
index
c946371
..
d4e9f94
100755
(executable)
--- 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;