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

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

index 34b1a38..cd3d4b5 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;
 }