summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 49866d5)
raw | patch | inline | side by side (parent: 49866d5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 11 Jul 2007 13:12:42 +0000 (13:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 11 Jul 2007 13:12:42 +0000 (13:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6836 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationService.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc
index 84c3b42c7df79addf3f6d9ec5df98515da27660d..f41b4195e54fc4420865a319327e59871d90e7b3 100644 (file)
{
plugin::plugin ($config, $dn, $parent);
-
- $ldap = $this->config->get_ldap_link();
- $ldap->cd ($this->config->current['BASE']);
- $ldap->search("(&(objectClass=gosaGroupOfNames)(member=".$this->dn."))",array("cn"));
- $this->member_of_ogroup = $ldap->count() >= 1;
+ if(!isset($this->parent->by_object['ogroup'])){
+ $ldap = $this->config->get_ldap_link();
+ $ldap->cd ($this->config->current['BASE']);
+ $ldap->search("(&(objectClass=gosaGroupOfNames)(member=".$this->dn."))",array("cn"));
+ $this->member_of_ogroup = $ldap->count() >= 1;
+ }
$this->XResolutions= array(
"640x480" => "640x480",