From: hickert Date: Tue, 17 Jul 2007 12:40:16 +0000 (+0000) Subject: Updated trunk setup to be able to use new timezone functions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7571b11df9f72fc68874298457ce04df294d3945;p=gosa.git Updated trunk setup to be able to use new timezone functions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6891 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/setup/class_setupStep_Config2.inc b/setup/class_setupStep_Config2.inc index 872d8ccfa..aa60c34c8 100644 --- a/setup/class_setupStep_Config2.inc +++ b/setup/class_setupStep_Config2.inc @@ -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']; }