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:
parent
05f333dfba
commit
9db5ad3476
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue