From: Dan Wells Date: Tue, 6 Sep 2011 16:14:39 +0000 (-0400) Subject: Clear org_unit cache fix for autogen.sh X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9cca4c3203b0f496930fa534b665f20e5775dcc9;p=working%2FEvergreen.git 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 --- diff --git a/Open-ILS/src/extras/org_tree_js.pl b/Open-ILS/src/extras/org_tree_js.pl index 50f34cb246..01a31c2cb7 100755 --- a/Open-ILS/src/extras/org_tree_js.pl +++ b/Open-ILS/src/extras/org_tree_js.pl @@ -30,7 +30,7 @@ $session->disconnect(); 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;