1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Allow null identities to be attached to commit objects

Summary: I landed D19491 a little aggressively, so allow this field to be null until after the migration goes out.

Test Plan: Loaded commits without identity objects; did not get any errors.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D19496
This commit is contained in:
Austin McKinley 2018-06-18 15:33:08 -07:00
parent 05f333dfba
commit 9db5ad3476

View file

@ -195,8 +195,9 @@ final class PhabricatorRepositoryCommit
}
public function attachIdentities(
PhabricatorRepositoryIdentity $author,
$committer = null) {
PhabricatorRepositoryIdentity $author = null,
PhabricatorRepositoryIdentity $committer = null) {
$this->authorIdentity = $author;
$this->committerIdentity = $committer;
}