[open-ils-commits] r12582 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Mar 18 12:42:18 EDT 2009
Author: erickson
Date: 2009-03-18 12:42:16 -0400 (Wed, 18 Mar 2009)
New Revision: 12582
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm
Log:
let the _impl caller handle transaction commits
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm 2009-03-18 15:47:29 UTC (rev 12581)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Acq/Lineitem.pm 2009-03-18 16:42:16 UTC (rev 12582)
@@ -608,7 +608,6 @@
$e->update_acq_lineitem_detail($li_detail) or return $e->die_event;
- $e->commit;
return $li_detail if $$options{return_obj};
return $li_detail->id
}
@@ -655,7 +654,6 @@
return $evt if $evt;
$e->update_acq_lineitem_detail($li_detail) or return $e->die_event;
- $e->commit;
return 1;
}
@@ -715,7 +713,6 @@
# XXX check lineitem perms
$e->delete_acq_lineitem_detail($li_detail) or return $e->die_event;
- $e->commit;
return 1;
}
More information about the open-ils-commits
mailing list