Any time saved is not worth the confusion of changes to org unit settings not
taking effect in the TPAC without an apache restart, or worse, taking
effect for some page loads but not others.
Actually authored by Bill.
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
my $e = $self->editor;
my $ctx = $self->ctx;
+ # reset org unit setting cache on each page load to avoid the
+ # requirement of reloading apache with each org-setting change
+ $cache{org_settings} = {};
+
if($ro_object_subs) {
# subs have been built. insert into the context then move along.
$ctx->{$_} = $ro_object_subs->{$_} for keys %$ro_object_subs;