Commit a42ff772 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Fixed problems in tabs_ogroup

parent b9229947
...@@ -33,6 +33,7 @@ class ogrouptabs extends simpleTabs_noSpecial ...@@ -33,6 +33,7 @@ class ogrouptabs extends simpleTabs_noSpecial
function loadtabs($gosaGroupObjects) function loadtabs($gosaGroupObjects)
{ {
global $config;
if ($this->groupObjects == $gosaGroupObjects) { if ($this->groupObjects == $gosaGroupObjects) {
return; return;
} }
...@@ -163,7 +164,6 @@ class ogrouptabs extends simpleTabs_noSpecial ...@@ -163,7 +164,6 @@ class ogrouptabs extends simpleTabs_noSpecial
/* Don't touch base object */ /* Don't touch base object */
if ($name != 'ogroup') { if ($name != 'ogroup') {
$obj->parent = &$this;
$obj->uid = $baseobject->cn; $obj->uid = $baseobject->cn;
$obj->cn = $baseobject->cn; $obj->cn = $baseobject->cn;
$obj->sn = $baseobject->cn; $obj->sn = $baseobject->cn;
...@@ -172,9 +172,6 @@ class ogrouptabs extends simpleTabs_noSpecial ...@@ -172,9 +172,6 @@ class ogrouptabs extends simpleTabs_noSpecial
$this->by_object[$name] = $obj; $this->by_object[$name] = $obj;
} }
} }
/* Update parent in base object */
$this->by_object['ogroup']->parent = &$this;
} }
} }
?> ?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment