summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f4e2b1)
raw | patch | inline | side by side (parent: 8f4e2b1)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 10 Jun 2008 10:25:19 +0000 (10:25 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 10 Jun 2008 10:25:19 +0000 (10:25 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11278 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ldap.inc | patch | blob | history |
index 3c52101f9d979f59f81d45b4684b51e7e75baedd..7ff9cb8ac683143b11af81e96b243da7c28c44be 100644 (file)
}
# Get base to look for schema
- $sr = @ldap_read ($this->cid, NULL, "objectClass=*", array("subschemaSubentry"));
- if(!$sr){
- $sr = @ldap_read ($this->cid, "", "objectClass=*", array("subschemaSubentry"));
- }
-
+ $sr = @ldap_read ($this->cid, "", "objectClass=*", array("subschemaSubentry"));
$attr = @ldap_get_entries($this->cid,$sr);
if (!isset($attr[0]['subschemasubentry'][0])){
return array();
if(class_available("session")){
session::set("LDAP_CACHE::get_objectclasses",$objectclasses);
}
+
return $objectclasses;
}