return _projectInvitationDao.update(invite.getId(), invite);
}
@Override
@DB
@ActionEvent(eventType = EventTypes.EVENT_PROJECT_INVITATION_UPDATE, eventDescription = "updating project invitation", async = true)
<BUG>public Project updateInvitation(final long projectId, String accountName, String token, final boolean accept) {
</BUG>
Account caller = CallContext.current().getCallingAccount();
Long accountId = null;
boolean result = true;

return _projectInvitationDao.update(invite.getId(), invite);
}
@Override
@DB
@ActionEvent(eventType = EventTypes.EVENT_PROJECT_INVITATION_UPDATE, eventDescription = "updating project invitation", async = true)
public boolean updateInvitation(final long projectId, String accountName, String token, final boolean accept) {
Account caller = CallContext.current().getCallingAccount();
Long accountId = null;
boolean result = true;
