Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/patches/20130921.xmigratemaniphest.php
Context not available. | |||||
$task_phid = $task_row['phid']; | $task_phid = $task_row['phid']; | ||||
$has_comment = strlen(trim($row['comments'])); | $has_comment = @strlen(trim($row['comments'])); | ||||
$xaction_type = $row['transactionType']; | $xaction_type = $row['transactionType']; | ||||
$xaction_old = $row['oldValue']; | $xaction_old = $row['oldValue']; | ||||
Context not available. | |||||
$xaction_type = PhabricatorTransactions::TYPE_CUSTOMFIELD; | $xaction_type = PhabricatorTransactions::TYPE_CUSTOMFIELD; | ||||
$aux_key = idx($xaction_meta, 'aux:key'); | $aux_key = idx($xaction_meta, 'aux:key'); | ||||
if (!preg_match('/^std:maniphest:/', $aux_key)) { | if (!@preg_match('/^std:maniphest:/', $aux_key)) { | ||||
$aux_key = 'std:maniphest:'.$aux_key; | $aux_key = 'std:maniphest:'.$aux_key; | ||||
} | } | ||||
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