Code

Systems Workstation Startup
[gosa.git] / plugins / admin / systems / class_terminalInfo.inc
index 58fb0b356451bad3fb1aa14d9fbda21baf6529a3..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){
@@ -60,7 +55,6 @@ class terminfo extends plugin
   {
     /* Call parent execute */
     plugin::execute();
-    return;
 
     /* Do we represent a valid terminal? */
     if (!$this->is_account && $this->parent == NULL){