if ( !cp.getIsPersonalCommunity())
{
BasicDBObject queryPerson = new BasicDBObject("_id",new ObjectId(personIdStr));
DBObject dboPerson = DbManager.getSocial().getPerson().findOne(queryPerson);
PersonPojo pp = PersonPojo.fromDb(dboPerson,PersonPojo.class);
cp.removeMember(new ObjectId(personIdStr));
pp.removeCommunity(cp);
//write both objects back to db now
/////////////////////////////////////////////////////////////////////////////////////////////////
// TODO (INF-1214): Make this code more robust to handle changes to the community that need to
// Caleb: this means change update to $set