Fix bad call to getShortName()
Summary: Fixes T10212. This method was removed in D14990, but I missed a callsite. Test Plan: Disabling blame now works nicely. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10212 Differential Revision: https://secure.phabricator.com/D15100
This commit is contained in:
@@ -1826,7 +1826,7 @@ final class DiffusionBrowseController extends DiffusionController {
|
||||
$names = array();
|
||||
foreach ($blame_commits as $identifier => $commit) {
|
||||
$author = $commit->renderAuthorShortName($handles);
|
||||
$name = $commit->getShortName();
|
||||
$name = $commit->getLocalName();
|
||||
|
||||
$authors[$identifier] = $author;
|
||||
$names[$identifier] = $name;
|
||||
|
||||
Reference in New Issue
Block a user