1
0
Fork 0
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:
vrana 2013-02-21 16:25:01 -08:00
parent 2b10173a03
commit 8fcf4d5ac3

View file

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