Differential D25040 Diff 97 src/applications/differential/customfield/DifferentialJIRAIssuesField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialJIRAIssuesField.php
Show First 20 Lines • Show All 160 Lines • ▼ Show 20 Lines | foreach ($xactions as $xaction) { | ||||
->execute(); | ->execute(); | ||||
} catch (DoorkeeperMissingLinkException $ex) { | } catch (DoorkeeperMissingLinkException $ex) { | ||||
$this->error = pht('Not Linked'); | $this->error = pht('Not Linked'); | ||||
$errors[] = new PhabricatorApplicationTransactionValidationError( | $errors[] = new PhabricatorApplicationTransactionValidationError( | ||||
$type, | $type, | ||||
pht('Not Linked'), | pht('Not Linked'), | ||||
pht( | pht( | ||||
'You can not add JIRA issues (%s) to this revision because your '. | 'You can not add JIRA issues (%s) to this revision because your '. | ||||
'Phabricator account is not linked to a JIRA account.', | '%s account is not linked to a JIRA account.', | ||||
implode(', ', $add)), | implode(', ', $add), | ||||
PlatformSymbols::getPlatformServerName()), | |||||
$xaction); | $xaction); | ||||
continue; | continue; | ||||
} | } | ||||
$bad = array(); | $bad = array(); | ||||
foreach ($refs as $ref) { | foreach ($refs as $ref) { | ||||
if (!$ref->getIsVisible()) { | if (!$ref->getIsVisible()) { | ||||
$bad[] = $ref->getObjectID(); | $bad[] = $ref->getObjectID(); | ||||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |
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