1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00

Minor, actually update commit author field when it is parsed by the worker.

This commit is contained in:
epriestley 2012-02-28 21:25:15 -08:00
parent b2c59bafd1
commit d7bb686a47

View file

@ -47,6 +47,12 @@ abstract class PhabricatorRepositoryCommitMessageParserWorker
$parser_obj->parseCommitDetails();
}
$author_phid = $data->getCommitDetail('authorPHID');
if ($author_phid) {
$commit->setAuthorPHID($author_phid);
$commit->save();
}
$data->save();
$conn_w = id(new DifferentialRevision())->establishConnection('w');