mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Use relatives in commit summary migration
Test Plan: Ran it on test DB. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5061
This commit is contained in:
parent
2b10173a03
commit
8fcf4d5ac3
1 changed files with 3 additions and 3 deletions
|
@ -10,9 +10,9 @@ foreach ($commits as $commit) {
|
|||
continue;
|
||||
}
|
||||
|
||||
$data = id(new PhabricatorRepositoryCommitData())->loadOneWhere(
|
||||
'commitID = %d',
|
||||
$commit->getID());
|
||||
$data = $commit->loadOneRelative(
|
||||
new PhabricatorRepositoryCommitData(),
|
||||
'commitID');
|
||||
|
||||
if (!$data) {
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue