Code

Added subtree search to selectUserToPrinter
[gosa.git] / plugins / admin / systems / class_terminalInfo.inc
index e60405bba54bde7820bd02581fa36dc48743c2b9..90278c532dc27eda3f0fdf9fc664e0812ce96c3e 100644 (file)
@@ -2,11 +2,6 @@
 
 class terminfo extends plugin
 {
-  /* CLI vars */
-  var $cli_summary= "Retrieve informations about terminals";
-  var $cli_description= "Some longer text\nfor help";
-  var $cli_parameters= array("eins" => "Eins ist toll", "zwei" => "Zwei ist noch besser");
-
   /* Generic terminal attributes */
   var $ghCpuType= "-";
   var $ghMemSize= "-";
@@ -35,9 +30,9 @@ class terminfo extends plugin
       "ghGfxAdapter", "ghSoundAdapter", "gotoLastUser");
   var $objectclasses= array("GOhard");
 
-  function terminfo ($config, $dn= NULL)
+  function terminfo ($config, $dn= NULL, $parent= NULL)
   {
-    plugin::plugin ($config, $dn);
+    plugin::plugin ($config, $dn, $parent);
 
     /* Read arrays */
     foreach (array("ghNetNic", "ghIdeDev", "ghScsiDev") as $val){
@@ -223,9 +218,6 @@ class terminfo extends plugin
 
   function remove_from_parent()
   {
-    $ldap= $this->config->get_ldap_link();
-    $ldap->rmdir($this->dn);
-    show_ldap_error($ldap->get_error());
   }
 
 
@@ -236,7 +228,6 @@ class terminfo extends plugin
   }
 
 
-
   /* Save to LDAP */
   function save()
   {