summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ffada7)
raw | patch | inline | side by side (parent: 4ffada7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Sep 2006 06:48:03 +0000 (06:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 Sep 2006 06:48:03 +0000 (06:48 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4677 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/users/tabs_user.inc | patch | blob | history |
index 5ac4fb7b3a1321b791928caf86904e9f3a2b59a9..c37ce5cba052fd2d927210113a7697ba80abcdaa 100644 (file)
$baseobject= $this->by_object['user'];
foreach ($this->by_object as $name => $obj){
- /* Don't touch base object */
- if ($name != 'user'){
- $obj->parent= &$this;
- $obj->uid= $baseobject->uid;
- $obj->sn= $baseobject->uid;
- $obj->givenName= $baseobject->uid;
- $this->by_object[$name]= $obj;
+ /* Adding uid to sub plugins of connectivity */
+ if($name == "connectivity"){
+ foreach ($obj->plugin_name as $plg_name){
+ if(isset($obj->plugin[$plg_name]->uid)){
+ $obj->plugin[$plg_name]->uid = $baseobject->uid;
+ }
+ }
}
/* Copy mail if needed */
}
}
+ /* Don't touch base object */
+ if ($name != 'user'){
+ $obj->parent= &$this;
+ $obj->uid= $baseobject->uid;
+ $obj->sn= $baseobject->uid;
+ $obj->givenName= $baseobject->uid;
+ }
+
+ /* Store changes */
+ $this->by_object[$name]= $obj;
+
/* Update parent in base object */
$this->by_object['user']->parent= &$this;
}