X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Fclass_terminalInfo.inc;h=90278c532dc27eda3f0fdf9fc664e0812ce96c3e;hb=5f1f63cbff1a76de561e6e556342179ace8ca24e;hp=0c3060534fd4851c8ddee32e7a3b7d47bfb04996;hpb=027fa8398a9ba848a03b26540b6b16b96f156eba;p=gosa.git diff --git a/plugins/admin/systems/class_terminalInfo.inc b/plugins/admin/systems/class_terminalInfo.inc index 0c3060534..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){ @@ -234,7 +228,6 @@ class terminfo extends plugin } - /* Save to LDAP */ function save() {