mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Fix undefined variables in Subversion
Summary: These variables won't be in scope in Subversion. See: <https://secure.phabricator.com/rP2ff5541fc59c4be7abd733a39e12db8358004f7a> Auditors: btrahan
This commit is contained in:
parent
99ad978e90
commit
7a5c3cc854
1 changed files with 3 additions and 2 deletions
|
@ -519,13 +519,14 @@ final class DiffusionCommitController extends DiffusionController {
|
|||
}
|
||||
}
|
||||
|
||||
$author_phid = $data->getCommitDetail('authorPHID');
|
||||
$author_name = $data->getAuthorName();
|
||||
|
||||
if (!$repository->isSVN()) {
|
||||
$authored_info = id(new PHUIStatusItemView());
|
||||
// TODO: In Git, a distinct authorship date is available. When present,
|
||||
// we should show it here.
|
||||
|
||||
$author_phid = $data->getCommitDetail('authorPHID');
|
||||
$author_name = $data->getAuthorName();
|
||||
if ($author_phid) {
|
||||
$authored_info->setTarget($handles[$author_phid]->renderLink());
|
||||
} else if (strlen($author_name)) {
|
||||
|
|
Loading…
Reference in a new issue