DbManager.getSocial().getCommunity().update(query, community.toDb());
PersonHandler person = new PersonHandler();
person.removeCommunity(personIdStr, communityIdStr);
rp.setData(community, new CommunityPojoApiMap());
rp.setResponse(new ResponseObject("Remove member from community", true, "Member has been removed from community"));
}
else
{
rp.setResponse(new ResponseObject("Remove member from community",true,"Person is not a member of this community."));