Merge "Remove usage of AccountAccess#all() from schema migrations"

This commit is contained in:
David Pursehouse
2017-06-15 23:37:50 +00:00
committed by Gerrit Code Review
4 changed files with 52 additions and 15 deletions

View File

@@ -56,7 +56,8 @@ public class AccountsOnInit {
try (Repository repo = new FileRepository(path);
ObjectInserter oi = repo.newObjectInserter()) {
PersonIdent serverIdent = new GerritPersonIdentProvider(flags.cfg).get();
AccountsUpdate.createUserBranch(repo, oi, serverIdent, serverIdent, account);
AccountsUpdate.createUserBranch(
repo, oi, serverIdent, serverIdent, account.getId(), account.getRegisteredOn());
}
}
}