index 8357a0e4235685016690ac7b6306ffdd443ed25d..5753ba39a3e7c1394ae2c21bde5bf2a62540fb60 100644 (file)
class grouptabs extends tabs
{
- function grouptabs($config, $data, $dn, $gui= true)
+ function grouptabs($config, $data, $dn)
{
- tabs::tabs($config, $data, $dn, $gui);
+ tabs::tabs($config, $data, $dn);
$baseobject= $this->by_object['group'];
foreach ($this->by_object as $name => $obj){
if(isset($obj->parent)){
}
}
+ function delete()
+ {
+ /* Put baseobjects 'cn' to mailobjects 'uid' */
+ $baseobject= $this->by_object['group'];
+ if (isset($this->by_object['mailgroup'])){
+ $this->by_object['mailgroup']->uid= $baseobject->cn;
+ }
+ tabs::delete();
+ }
+
function save()
{
$baseobject= $this->by_object['group'];