def remove_record(self, record):
if not self.has_record(record):<EOL><INDENT>current_app.logger.warning(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(uuid=record.id, comm=self.id))<EOL><DEDENT>else:<EOL><INDENT>key = current_app.config['<STR_LIT>']<EOL>record[key] = [c for c in record[key] if c != self.id]<EOL><DEDENT>if current_app.config['<STR_LIT>']:<EOL><INDENT>if self.oaiset.has_record(record):<EOL><INDENT>self.oaiset.remove_record(record)<EOL><DEDENT><DEDENT>
Remove an already accepted record from the community.

        :param record: Record object.
        :type record: `invenio_records.api.Record`