Item6015: Setting MaxCacheAge to 0 does not disable refreshCache
Priority: Low
Current State: Closed
Released In:
Target Release: n/a
Setting the
MaxCacheAge to 0 in v2.99.5 still causes the call to refresh the cache. I made one change and it is working for me. I've never made a patch file, so I'll do it the way I know:
LdapContrib.pm:Line 182: maxCacheAge=>$TWiki::cfg{Ldap}{MaxCacheAge} || 86400,
to
LdapContrib.pm:Line 182: maxCacheAge=>defined ($TWiki::cfg{Ldap}{MaxCacheAge}) ? $TWiki::cfg{Ldap}{MaxCacheAge} : 86400,
--
TWiki:Main/DonaldClaus - 23 Sep 2008