From da092a74d90f1289a5f2870b80c75f67e3370f48 Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Wed, 7 Sep 2011 11:35:18 -0400 Subject: [PATCH] Clear org_unit cache fix for autogen.sh autogen.sh is not properly clearing the org_tree cache. It is unclear how this hasn't caused a problem before, but this fix works for me and should be at least harmless in other enviroments. Signed-off-by: Dan Wells Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/src/perlmods/lib/OpenILS/Utils/Configure.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/Configure.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/Configure.pm index b324ac29b1..2501f59dfc 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/Configure.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/Configure.pm @@ -91,7 +91,7 @@ sub org_tree_js { foreach my $locale (@$locales) { warn "removing OrgTree from the cache for locale " . $locale->code . "...\n"; my $cache = OpenSRF::Utils::Cache->new; - $cache->delete_cache("orgtree.$locale->code"); + $cache->delete_cache("orgtree.".$locale->code); # fetch the org_unit's and org_unit_type's my $e = OpenILS::Utils::CStoreEditor->new; -- 2.43.2