Item6015: Setting MaxCacheAge to 0 does not disable refreshCache

pencil
Priority: Low
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: LdapContrib
Branches:
Reported By: TWiki:Main.DonaldClaus
Waiting For:
Last Change By: MichaelDaum
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
Topic revision: r2 - 07 Jan 2009, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy