'Silently delete anything registered for the domain specified.'

def release_registration(self, domain_id, type=None):

    with sql.session_for_write() as session:
        query = session.query(ConfigRegister)
        if type:
            query = query.filter_by(type=type)
        query = query.filter_by(domain_id=domain_id)
        query.delete(False)
