Revert "Wrap proximity refreshing in a transaction to avoid timespans where there...
authorMike Rylander <mrylander@gmail.com>
Mon, 23 May 2011 15:16:18 +0000 (11:16 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 23 May 2011 15:16:18 +0000 (11:16 -0400)
This reverts commit c2d79986e591c3ef592e7418410dbfdbe70ddcf7.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm

index d27e6a8..343eae6 100644 (file)
@@ -196,10 +196,8 @@ sub calc_proximity {
                                actor.org_unit r;
        SQL
 
-       $self->method_lookup('open-ils.storage.transaction.begin')->run;
        actor::org_unit_proximity->db_Main->do($delete_sql);
        actor::org_unit_proximity->db_Main->do($insert_sql);
-       $self->method_lookup('open-ils.storage.transaction.commit')->run;
 
        return 1;
 }