[open-ils-commits] r13353 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Jun 9 16:12:33 EDT 2009
Author: erickson
Date: 2009-06-09 16:12:29 -0400 (Tue, 09 Jun 2009)
New Revision: 13353
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
Log:
removed unnecessary check for the existence of matrix_test_result
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2009-06-09 20:11:23 UTC (rev 13352)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm 2009-06-09 20:12:29 UTC (rev 13353)
@@ -866,17 +866,15 @@
my $dbfunc = ($self->is_renewal) ?
'action.item_user_renew_test' : 'action.item_user_circ_test';
- my $results = ($self->matrix_test_result) ?
- $self->matrix_test_result :
- $self->editor->json_query(
- { from => [
- $dbfunc,
- $self->editor->requestor->ws_ou,
- ($self->is_precat or $self->is_noncat) ? undef : $self->copy->id,
- $self->patron->id,
- ]
- }
- );
+ my $results = $self->editor->json_query(
+ { from => [
+ $dbfunc,
+ $self->editor->requestor->ws_ou,
+ ($self->is_precat or $self->is_noncat) ? undef : $self->copy->id,
+ $self->patron->id,
+ ]
+ }
+ );
$self->circ_test_success($U->is_true($results->[0]->{success}));
More information about the open-ils-commits
mailing list