Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/autopatches/20160601.user.02.copyprefs.php
Context not available. | |||||
} | } | ||||
$zone = $row['timezoneIdentifier']; | $zone = $row['timezoneIdentifier']; | ||||
if (strlen($zone)) { | if (@strlen($zone)) { | ||||
$prefs[PhabricatorTimezoneSetting::SETTINGKEY] = $zone; | $prefs[PhabricatorTimezoneSetting::SETTINGKEY] = $zone; | ||||
} | } | ||||
$pronoun = $row['sex']; | $pronoun = $row['sex']; | ||||
if (strlen($pronoun)) { | if (@strlen($pronoun)) { | ||||
$prefs[PhabricatorPronounSetting::SETTINGKEY] = $pronoun; | $prefs[PhabricatorPronounSetting::SETTINGKEY] = $pronoun; | ||||
} | } | ||||
$translation = $row['translation']; | $translation = $row['translation']; | ||||
if (strlen($translation)) { | if (@strlen($translation)) { | ||||
$prefs[PhabricatorTranslationSetting::SETTINGKEY] = $translation; | $prefs[PhabricatorTranslationSetting::SETTINGKEY] = $translation; | ||||
} | } | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0