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

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

index 75152ce..1cb3dce 100644 (file)
@@ -197,10 +197,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;
 }