[open-ils-commits] r15910 - branches/rel_1_6/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:40:52 EDT 2010


Author: miker
Date: 2010-03-18 10:40:50 -0400 (Thu, 18 Mar 2010)
New Revision: 15910

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

Modified: branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm
===================================================================
--- branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm	2010-03-18 14:40:06 UTC (rev 15909)
+++ branches/rel_1_6/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm	2010-03-18 14:40:50 UTC (rev 15910)
@@ -74,7 +74,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
@@ -126,7 +126,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