JBAS-1736 Remove unused, stranded transaction in LI fetcher
authorBill Erickson <berickxx@gmail.com>
Tue, 25 Apr 2017 20:23:55 +0000 (16:23 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Remove unnecessary and un-closed xact=>1 in custom lineitem fetching code.
This avoids leaving cstore backends stranded.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ.pm

index 560c390..77818e7 100644 (file)
@@ -2188,7 +2188,7 @@ sub get_lineitem {
     
     my( $self, $client, $user_session, $id ) = @_;
     
-    my $e = new_editor(authtoken => $user_session, xact => 1);
+    my $e = new_editor(authtoken => $user_session);
     return $e->die_event unless $e->checkauth;
     
     my $meth = $self->method_lookup("open-ils.storage.asset.lineitem_by_id");