summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 999ec9a)
raw | patch | inline | side by side (parent: 999ec9a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Nov 2008 13:05:29 +0000 (13:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 28 Nov 2008 13:05:29 +0000 (13:05 +0000) |
-Allow reload of cached objectclasses
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13076 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13076 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ldap.inc | patch | blob | history |
index 1c8b758f287860581b6285bbf18ba288b20f3b0d..1d00c9466a6b2b827df8c9e76584c5b216bbc72f 100644 (file)
}
- function get_objectclasses()
+ function get_objectclasses( $force_reload = FALSE)
{
$objectclasses = array();
global $config;
}
/* Return the cached results. */
- if(class_available('session') && session::is_set("LDAP_CACHE::get_objectclasses")){
+ if(class_available('session') && session::is_set("LDAP_CACHE::get_objectclasses") && !$force_reload){
$objectclasses = session::get("LDAP_CACHE::get_objectclasses");
return($objectclasses);
}