From bb0000cafbaeeac50cc7105e3b2defb33201e1df Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 18 Aug 2003 16:38:41 +0000 Subject: [PATCH] added get_cacheTimeoutSec() --- lam/lib/config.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lam/lib/config.inc b/lam/lib/config.inc index 7665f170..03d96e6d 100644 --- a/lam/lib/config.inc +++ b/lam/lib/config.inc @@ -742,6 +742,11 @@ class Config { return $this->cache_timeout; } + // returns the LDAP cache timeout in seconds + function get_cacheTimeoutSec() { + return $this->cache_timeout * 60; + } + // sets the LDAP cache timeout in minutes function set_cacheTimeout($value) { if (is_numeric($value) && ($value > -1)) {