Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorTimezoneSetting.php
| Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | foreach ($groups as $offset => $group) { | ||||
| 'label' => $label, | 'label' => $label, | ||||
| 'options' => array_fuse($group), | 'options' => array_fuse($group), | ||||
| ); | ); | ||||
| } | } | ||||
| return $option_groups; | return $option_groups; | ||||
| } | } | ||||
| public function expandSettingTransaction($object, $xaction) { | |||||
| // When the user changes their timezone, we also clear any ignored | |||||
| // timezone offset. | |||||
| return array( | |||||
| $xaction, | |||||
| $this->newSettingTransaction( | |||||
| $object, | |||||
| PhabricatorTimezoneIgnoreOffsetSetting::SETTINGKEY, | |||||
| null), | |||||
| ); | |||||
| } | |||||
| } | } | ||||