summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 670af9b)
raw | patch | inline | side by side (parent: 670af9b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 14 Dec 2010 14:17:57 +0000 (14:17 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 14 Dec 2010 14:17:57 +0000 (14:17 +0000) |
-fixed problem with parent object
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20556 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20556 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc | patch | blob | history |
diff --git a/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc b/gosa-plugins/connectivity/personal/connectivity/class_connectivity.inc
index 27a866423bddb75c84d5cb2b5826c734030f0ea7..f1be45aa0e325c7886cf5f4ce8e2664b1b3cca2f 100644 (file)
}
}
- /* Remove checkboxes in single edit mode */
if ($this->parent !== NULL){
foreach ($this->plugin_name as $name){
$this->plugin[$name]->parent= $this->parent;
/* Save to LDAP */
function save()
{
+ // Append parent to sub-plugins.
+ if ($this->parent !== NULL){
+ foreach ($this->plugin_name as $name){
+ $this->plugin[$name]->parent= $this->parent;
+ }
+ }
+
/* Save objects */
foreach ($this->plugin_name as $name){
$this->plugin[$name]->dn= $this->dn;
function remove_from_parent()
{
+ // Append parent to sub-plugins.
+ if ($this->parent !== NULL){
+ foreach ($this->plugin_name as $name){
+ $this->plugin[$name]->parent= $this->parent;
+ }
+ }
+
/* Remove objects */
foreach ($this->plugin_name as $name){
$this->plugin[$name]->dn= $this->dn;