Code

More speed optimizations
[gosa.git] / plugins / admin / systems / tabs_workstation.inc
index 4afdf8333840e5ed56a086f922ff74a80e8e2b58..34298b095e7818f9a10ce20f89bfecb98ee40e95 100644 (file)
@@ -38,6 +38,7 @@ class worktabs extends tabs
        'dn' to all plugins */
     $baseobject= $this->by_object['workgeneric'];
     $this->dn= "cn=".$baseobject->cn.",ou=workstations,ou=systems,".$baseobject->base;
+    $baseobject->dn= $this->dn;
 
     foreach ($this->by_object as $key => $obj){
       $this->by_object[$key]->dn= $this->dn;
@@ -45,6 +46,7 @@ class worktabs extends tabs
     }
 
     tabs::save(TRUE);
+
     if(($this->by_object['printgeneric']->is_account==false)&&($this->by_object['printgeneric']->initially_was_account==true)){
       $this->by_object['printgeneric']->remove_from_parent();
     }