Differential D18693 Diff 44881 src/applications/diffusion/xaction/DiffusionCommitVerifyTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/xaction/DiffusionCommitVerifyTransaction.php
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | if (!$this->isViewerCommitAuthor($object, $viewer)) { | ||||
'are not the author.')); | 'are not the author.')); | ||||
} | } | ||||
$status = $object->getAuditStatus(); | $status = $object->getAuditStatus(); | ||||
if ($status != PhabricatorAuditCommitStatusConstants::CONCERN_RAISED) { | if ($status != PhabricatorAuditCommitStatusConstants::CONCERN_RAISED) { | ||||
throw new Exception( | throw new Exception( | ||||
pht( | pht( | ||||
'You can not request verification of this commit because no '. | 'You can not request verification of this commit because no '. | ||||
'auditors have raised conerns with it.')); | 'auditors have raised concerns with it.')); | ||||
} | } | ||||
} | } | ||||
public function getTitle() { | public function getTitle() { | ||||
return pht( | return pht( | ||||
'%s requested verification of this commit.', | '%s requested verification of this commit.', | ||||
$this->renderAuthor()); | $this->renderAuthor()); | ||||
} | } | ||||
Show All 9 Lines |