Code

Fixed broken tags
[gosa.git] / plugins / admin / systems / class_terminalInfo.inc
index 0c3060534fd4851c8ddee32e7a3b7d47bfb04996..c51b7846fb5d29864952169debd246e815cf2175 100644 (file)
@@ -35,9 +35,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 +60,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 +233,6 @@ class terminfo extends plugin
   }
 
 
-
   /* Save to LDAP */
   function save()
   {