From: erickson Date: Tue, 2 Sep 2008 19:50:30 +0000 (+0000) Subject: rollback on failed auth as well.. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4aa72e8edd026116697cdccd1533984fb5acccc5;p=Evergreen.git rollback on failed auth as well.. git-svn-id: svn://svn.open-ils.org/ILS/trunk@10511 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm b/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm index 2272b043fc..b06ed201f4 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm @@ -381,7 +381,7 @@ __PACKAGE__->register_method( sub import_record_list { my($self, $conn, $auth, $rec_ids) = @_; my $e = new_editor(xact => 1, authtoken => $auth); - return $e->event unless $e->checkauth; + return $e->die_event unless $e->checkauth; my $err = import_record_list_impl($self, $conn, $auth, $e, $rec_ids); return $err if $err; $e->commit;