removed unnecessary check for the existence of matrix_test_result
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 9 Jun 2009 20:12:29 +0000 (20:12 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 9 Jun 2009 20:12:29 +0000 (20:12 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13353 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Circulate.pm

index e917793..2c6d4bc 100644 (file)
@@ -866,17 +866,15 @@ sub run_indb_circ_test {
     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}));