1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 13:00:56 +01:00

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:
epriestley 2016-01-23 17:02:30 -08:00
parent a0a3ac51f6
commit b53d61c909

View file

@ -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;