[open-ils-commits] r16724 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Jun 15 17:00:39 EDT 2010


Author: erickson
Date: 2010-06-15 17:00:34 -0400 (Tue, 15 Jun 2010)
New Revision: 16724

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm
Log:
no need to start a xact in lineitem search api call, especially if it's not closed out when done

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm	2010-06-15 19:45:08 UTC (rev 16723)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm	2010-06-15 21:00:34 UTC (rev 16724)
@@ -282,7 +282,7 @@
 
 sub lineitem_search {
     my($self, $conn, $auth, $search, $options) = @_;
-    my $e = new_editor(authtoken=>$auth, xact=>1);
+    my $e = new_editor(authtoken=>$auth);
     return $e->event unless $e->checkauth;
     return $e->event unless $e->allowed('CREATE_PICKLIST');
     # XXX needs permissions consideration



More information about the open-ils-commits mailing list