Code

Fixed post capture for noprimarygroup.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Apr 2007 05:46:07 +0000 (05:46 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 5 Apr 2007 05:46:07 +0000 (05:46 +0000)
Removed 'gosa.conf exists' check from step2.

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

setup/class_setupStep2.inc
setup/class_setupStep6a.inc

index fb87801455ff6cb54ef7bdaaae4a152c4269bfde..9a06f0ef9739aa97eba9952f0bf3192e9dc77ce7 100644 (file)
@@ -259,16 +259,16 @@ class setup_step_2 extends setup_step
     $this->is_writeable[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
 
     /* If we have writeaccess to the config dir, check if there is already a config file */
-    if($R){
-
-      /* check if there is already a config file. */
-      $N = _("No old configuration file.");
-      $D = "";//_("");
-      $S = _("If there is already a configuration file, this file will be overwritten when GOsa setup finishes. Please move your old config file away.");
-      $R =  !file_exists("/etc/gosa/gosa.conf");
-      $M = FALSE;
-      $this->is_writeable[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
-    }
+#    if($R){
+#
+#      /* check if there is already a config file. */
+#      $N = _("No old configuration file.");
+#      $D = "";//_("");
+#      $S = _("If there is already a configuration file, this file will be overwritten when GOsa setup finishes. Please move your old config file away.");
+#      $R =  !file_exists("/etc/gosa/gosa.conf");
+#      $M = FALSE;
+#      $this->is_writeable[] = array("NAME" => $N , "DESC" => $D , "RESULT" => $R , "SOLUTION" => $S , "MUST" => $M );
+#    }
   }
  
 
index 9b1fd99b769c079b73f52795b3e9419996a1130c..ca875c41817b4905fa47b4c55057b9bba6b0009f 100644 (file)
@@ -102,7 +102,7 @@ class setup_step_6a extends setup_step
         }
       }
       
-      foreach(array("enableCopyPaste","forceglobals","forcessl","warnssl","compile","debuglevel","session_lifetime","smbhash") as $name){
+      foreach(array("noprimarygroup","enableCopyPaste","forceglobals","forcessl","warnssl","compile","debuglevel","session_lifetime","smbhash") as $name){
         if(isset($_POST[$name])){
           $this->optional[$name] = stripslashes($_POST[$name]);
         }