Code

Added delete icon to ppd list if ppd file is removeable
[gosa.git] / plugins / admin / systems / tabs_phone.inc
index 60ccd3305945055d308ee8094cbb4eb686d452f4..cae0a24934acfdad42b01080229207c6c1b2c2cf 100644 (file)
@@ -20,12 +20,16 @@ class phonetabs extends tabs
        'dn' to all plugins */
     $baseobject= $this->by_object['phonegeneric'];
     $this->dn= "cn=$baseobject->cn,ou=phones,ou=systems,".$baseobject->base;
+    $baseobject->dn= $this->dn;
 
     foreach ($this->by_object as $key => $obj){
       $this->by_object[$key]->dn= $this->dn;
     }
 
     tabs::save(TRUE);
+
+    /* Fix tagging if needed */
+    $baseobject->handle_object_tagging();
   }
 
 }