X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_terminalInfo.inc;h=90278c532dc27eda3f0fdf9fc664e0812ce96c3e;hb=5f1f63cbff1a76de561e6e556342179ace8ca24e;hp=58fb0b356451bad3fb1aa14d9fbda21baf6529a3;hpb=07e6492263fef837908f515518bd362b433a44ce;p=gosa.git diff --git a/plugins/admin/systems/class_terminalInfo.inc b/plugins/admin/systems/class_terminalInfo.inc index 58fb0b356..90278c532 100644 --- a/plugins/admin/systems/class_terminalInfo.inc +++ b/plugins/admin/systems/class_terminalInfo.inc @@ -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){