CommentsUtil: Remove ReviewDb-specific logic

ReviewDb is gone.

Change-Id: Iba29f16121ebb678e9d1c8cdb5276f8d9ab57c2a
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2018-12-11 14:25:26 +01:00
parent 1c80f34098
commit d97f8eae9e
21 changed files with 59 additions and 211 deletions

View File

@@ -74,7 +74,7 @@ public class PublishCommentUtil {
throw new OrmException(e);
}
}
commentsUtil.putComments(ctx.getDb(), ctx.getUpdate(psId), PUBLISHED, drafts);
commentsUtil.putComments(ctx.getUpdate(psId), PUBLISHED, drafts);
}
private static PatchSet.Id psId(ChangeNotes notes, Comment c) {