Code

Updated workstation - Startup
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Nov 2007 10:42:09 +0000 (10:42 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Nov 2007 10:42:09 +0000 (10:42 +0000)
FAI classes were not detected like it is in 2.5

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7822 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index e9c5144fd59e99c090c28a119416d1fe3390c387..c92cde85af17e5b50a6705e5e59ec45f84df1c2e 100644 (file)
@@ -110,7 +110,7 @@ class workstartup extends plugin
     /* FAI Initialization
        Skip this if FAI is not activated 
      */
-      if($this->fai_activated) {
+    if($this->fai_activated) {
 
       $_SESSION['getAvailableClassesForThisRelease_CACHE'] = array();
       $_SESSION['getAvailableClassesForThisRelease_CACHED_CLASSES'] = array();
@@ -421,7 +421,9 @@ class workstartup extends plugin
     }
 
     $test2  = array();
-    $bb     = $this->generateDNSyn($release).$_SESSION['CurrentMainBase'];
+#    $bb     = $this->generateDNSyn($release).$_SESSION['CurrentMainBase'];
+    $bb     = $this->generateDNSyn($release).$this->config->current['BASE'];
+
     $ldap   = $this->config->get_ldap_link();
     $ldap->cd($this->config->current['BASE']);