deletable, editable, remark, userpic, deleteInfo, editSummary,
postIP, userAgent);
}
private ApiDeleteInfo loadDeleteInfo(Comment comment) throws UserNotFoundException {
ApiDeleteInfo deleteInfo = null;
if (comment.isDeleted()) {
DeleteInfo info = deleteInfoDao.getDeleteInfo(comment.getId());
if (info!=null) {
deleteInfo = new ApiDeleteInfo(
userDao.getUserCached(info.getUserid()).getNick(),
info.getReason()
);
}
}