From e7d7a61d60e9853cde14a256a0976fd675663062 Mon Sep 17 00:00:00 2001 From: miker Date: Fri, 6 Feb 2009 17:58:04 +0000 Subject: [PATCH] use method_lookup instead of direct call ($self is not what you think...) git-svn-id: svn://svn.open-ils.org/ILS/trunk@12098 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../src/perlmods/OpenILS/Application/Storage/Driver/Pg/storage.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/storage.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/storage.pm index 226e73a9d4..d7623d0d18 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/storage.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Driver/Pg/storage.pm @@ -33,10 +33,10 @@ if (my $old_xact = $pg->current_xact_session) { if ($pg->current_xact_is_auto) { $log->debug("Commiting old autocommit transaction with Open-ILS XACT-ID [$old_xact]", INFO); - $self->pg_commit_xaction($client); + $self->method_lookup("open-ils.storage.transaction.commit")->run(); } else { $log->debug("Rolling back old NON-autocommit transaction with Open-ILS XACT-ID [$old_xact]", INFO); - $self->pg_rollback_xaction($client); + $self->method_lookup("open-ils.storage.transaction.rollback")->run(); throw OpenSRF::DomainObject::oilsException->new( statusCode => 500, status => "Previous transaction rolled back!", -- 2.11.0