The autogen.sh script calls a function that flushes all org tree objects
cached by locale, but does not flush the one used when the locale is
unkown. This commit forces that flushing to occur.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
# Get our list of locales
my $locales = get_locales();
+ # Remove the no-locale copy
+ $cache->delete_cache("orgtree.");
+
foreach my $locale (@$locales) {
warn "removing OrgTree from the cache for locale " . $locale->code . "...\n";
my $cache = OpenSRF::Utils::Cache->new;