Code

Updated trunk setup to be able to use new timezone functions
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 Jul 2007 12:40:16 +0000 (12:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 Jul 2007 12:40:16 +0000 (12:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6891 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setupStep_Config2.inc

index 872d8ccfa3f1fb5014480b09dbdc65ed2509094e..aa60c34c822a0bbcad17c36300243352c2022453 100644 (file)
@@ -74,7 +74,7 @@ class Step_Config2 extends setup_step
       $pwdhash= 'perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;"';
     }
 
-    $this->timezones = get_timezones_array();
+    $this->timezones = _get_tz_zones();
     $this->samba_settings['smbhash'] = $pwdhash;
   }
 
@@ -155,7 +155,7 @@ class Step_Config2 extends setup_step
   {
     if(isset($_POST['step6_posted'])){
 
-      if(isset($_POST['timezone']) && isset($this->timezones[$_POST['timezone']])){
+      if(isset($_POST['timezone']) && isset($this->timezones['TIMEZONES'][$_POST['timezone']])){
         $this->timezone = $_POST['timezone'];
       }