[open-ils-commits] r15911 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher (miker)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Mar 18 10:41:10 EDT 2010


Author: miker
Date: 2010-03-18 10:41:08 -0400 (Thu, 18 Mar 2010)
New Revision: 15911

Modified:
   trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm
Log:
need to pass the $client to transactional methods

Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm	2010-03-18 14:40:50 UTC (rev 15910)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm	2010-03-18 14:41:08 UTC (rev 15911)
@@ -76,7 +76,7 @@
 	my $client = shift;
 	my $usr = shift;
 
-	$self->method_lookup('open-ils.storage.transaction.begin')->run();
+	$self->method_lookup('open-ils.storage.transaction.begin')->run($client);
 
 	my $out_sql = <<"	SQL";
 			SELECT	id
@@ -128,7 +128,7 @@
 
 	my $lo = actor::user->db_Main->selectcol_arrayref($lo_sql, {}, $usr);
 
-	$self->method_lookup('open-ils.storage.transaction.rollback')->run();
+	$self->method_lookup('open-ils.storage.transaction.rollback')->run($client);
 
 	if ($self->api_name =~/count$/o) {
 		return {	total	=> scalar(@$out) + scalar(@$od) + scalar(@$lost) + scalar(@$cl) + scalar(@$lo),



More information about the open-ils-commits mailing list