summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e94800e)
raw | patch | inline | side by side (parent: e94800e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Sep 2006 05:10:06 +0000 (05:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Sep 2006 05:10:06 +0000 (05:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4648 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc
index 1392ac7c7fd1ce36a3dab93c33ab0d4548d41fcc..46c2c299a7404824f3b2c1d8c8df09fad8c8b610 100644 (file)
/* Take care about groupMembership values: add to groups */
foreach ($this->groupMembership as $key => $value){
- $g= new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $key);
- $g->by_object['group']->addUser($this->uid);
- $g->save();
+ if (!isset($this->savedGroupMembership[$key])){
+ $g= new grouptabs($this->config,$this->config->data['TABS']['GROUPTABS'], $key);
+ $g->by_object['group']->addUser($this->uid);
+ $g->save();
+ }
}
/* Remove from groups not listed in groupMembership */