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 <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
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;