mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-01 02:10:59 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = id(new PhabricatorRepositoryCommitData())->loadOneWhere(
|
$data = $commit->loadOneRelative(
|
||||||
'commitID = %d',
|
new PhabricatorRepositoryCommitData(),
|
||||||
$commit->getID());
|
'commitID');
|
||||||
|
|
||||||
if (!$data) {
|
if (!$data) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue