From 8d4e56a1fe01d948d8df5cc7bbede89c694bfdfd Mon Sep 17 00:00:00 2001 From: Alexander Fuhr Date: Wed, 12 Nov 2014 12:09:47 +0100 Subject: [PATCH] Remove timezone element from the ApplicationConfigForm --- .../Config/General/ApplicationConfigForm.php | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/application/forms/Config/General/ApplicationConfigForm.php b/application/forms/Config/General/ApplicationConfigForm.php index 259d83712..f169abc47 100644 --- a/application/forms/Config/General/ApplicationConfigForm.php +++ b/application/forms/Config/General/ApplicationConfigForm.php @@ -27,26 +27,6 @@ class ApplicationConfigForm extends Form */ public function createElements(array $formData) { - $tzList = array(); - foreach (DateTimeZone::listIdentifiers() as $tz) { - $tzList[$tz] = $tz; - } - - $this->addElement( - 'select', - 'global_timezone', - array( - 'label' => t('Default Application Timezone'), - 'required' => true, - 'multiOptions' => $tzList, - 'description' => t( - 'Select the timezone to be used as the default. User\'s can set their own timezone if' - . ' they like to, but this is the timezone to be used as the default setting .' - ), - 'value' => date_default_timezone_get() - ) - ); - $this->addElement( 'text', 'global_modulePath',