added get_cacheTimeoutSec()

This commit is contained in:
Roland Gruber 2003-08-18 16:38:41 +00:00
parent 12ce918342
commit bb0000cafb
1 changed files with 5 additions and 0 deletions

View File

@ -742,6 +742,11 @@ class Config {
return $this->cache_timeout; 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 // sets the LDAP cache timeout in minutes
function set_cacheTimeout($value) { function set_cacheTimeout($value) {
if (is_numeric($value) && ($value > -1)) { if (is_numeric($value) && ($value > -1)) {