Code

Updated manufacturer handling
[gosa.git] / plugins / admin / systems / class_workstationGeneric.inc
index 6ee0d68f5712f2030eabdc3a0bd01cbc73ee9746..33a49bcb040347a9de0ab30398f0989b91ac99b5 100644 (file)
@@ -52,7 +52,7 @@ class workgeneric extends plugin
     /* Load available modes */
     $ldap= $this->config->get_ldap_link();
     $ldap->cd ($this->config->current['BASE']);
-    $ldap->search ("(objectClass=gotoInstallProfile)");
+    $ldap->search ("(objectClass=gotoInstallProfile)",array("cn"));
     while ($attrs= $ldap->fetch()){
       $this->modes[]= $attrs["cn"][0];
     }
@@ -283,9 +283,6 @@ class workgeneric extends plugin
       }
     }
     show_ldap_error($ldap->get_error());
-
-    /* Optionally execute a command after we're done */
-    $this->postcreate();
   }
 
 }