Removes a topic from the taboo list.
172061
function deleteTopic(res, topic) {
    const keyTopic = topic.toLowerCase();
    if (taboo.delete(keyTopic)) {
      res.reply(capitalize(`${topic} is no longer taboo`));
      saveList(res.robot.brain);
    } else {
      res.reply(`Oops, ${topic} is not taboo`);
    }
  }
384436
@Override
	public Collection<String> removeSessionsToTopic(Collection<Session> sessions) {
		if (sessions != null && !sessions.isEmpty()) {
			Collection<String> topicUpdated = new ArrayList<>();
			for (String topic : map.keySet()) {
				if(unregisterTopicSessions(topic, sessions)) {
					topicUpdated.add(topic);
					sendSubscriptionEvent(Constants.Topic.SUBSCRIBERS + Constants.Topic.COLON + topic, getNumberSubscribers(topic));
				}
			}
			return topicUpdated;
		}
		return Collections.EMPTY_LIST;
	}
251314
def remove_parameter(self, parameter_name):
        """"""
        if parameter_name in self.paramorder:
            index = self.paramorder.index(parameter_name)
            del self.paramorder[index]

        if parameter_name in self._parameters:
            del self._parameters[parameter_name]
50542
function removePhaseListener(priv, listener) {
  check(listener, 'listener').is.aFunction.and.is.oneOf(priv.listeners, 'registered listeners')();
  priv.listeners.splice(priv.listeners.indexOf(listener), 1);
}
741696
def _unbind_topics(self, topics):
        

        self.client.unsubscribe(topics.status)
        self.client.unsubscribe(topics.tracing)
        self.client.unsubscribe(topics.streaming)
        self.client.unsubscribe(topics.response)
594648
def clean(self):
        
        super().clean()
        if self.forum.is_category or self.forum.is_link:
            raise ValidationError(
                _('A topic can not be associated with a category or a link forum')
            )
49824
def remove_inclusion(self, role, value=None):
        """"""
        self._remove_rule(self.includes, role, value)
521031
private void purgeTombstones() {
    long minTombstoneTime = membershipService.getMembers()
        .stream()
        .map(node -> updateTimes.getOrDefault(node.id(), 0L))
        .reduce(Math::min)
        .orElse(0L);
    for (InternalTopic topic : topics.values()) {
      topic.purgeTombstones(minTombstoneTime);
    }
  }
1349982
protected void removeDragAndDropMessage() {

        if (m_dragAndDropMessage != null) {
            m_dragAndDropMessage.removeFromParent();
            m_dragAndDropMessage = null;
            getContentWrapper().getElement().getStyle().clearBackgroundColor();
        }
    }
1303791
def delete_topic_groups(self, group_id, topic_id):
        
        path = {}
        data = {}
        params = {}

        # REQUIRED - PATH - group_id
        """ID"""
        path["group_id"] = group_id

        # REQUIRED - PATH - topic_id
        """ID"""
        path["topic_id"] = topic_id

        self.logger.debug("DELETE /api/v1/groups/{group_id}/discussion_topics/{topic_id} with query params: {params} and form data: {data}".format(params=params, data=data, **path))
        return self.generic_request("DELETE", "/api/v1/groups/{group_id}/discussion_topics/{topic_id}".format(**path), data=data, params=params, no_data=True)
189715
def empty_topic(self, topic):
        """"""
        nsq.assert_valid_topic_name(topic)
        return self._request('POST', '/topic/empty', fields={'topic': topic})
296941
public void clear() {
        weightParams.clear();
        biasParams.clear();
        paramsList = null;
        weightParamsList = null;
        biasParamsList = null;
    }
91338
def removePublicReport(self):
        """"""

        response = self.pingdom.request('DELETE',
                                        'reports.public/%s' % self.id)
        return response.json()['message']
692202
def remove_topic(self, topic_id):
        
        comment_start = 0
        while comment_start is not None:
            comments = self.list_comments(topic_id, comment_start)
            for comment in comments['results']:
                self.remove_comment(topic_id, comment['id'])
            comment_start = comments['next_start']
        return self.api.req(API_GROUP_REMOVE_TOPIC % topic_id, params={'ck': self.api.ck()})
138192
def _del_subscription(self, a_filter, session):
        
        deleted = 0
        try:
            subscriptions = self._subscriptions[a_filter]
            for index, (sub_session, qos) in enumerate(subscriptions):
                if sub_session.client_id == session.client_id:
                    self.logger.debug("Removing subscription on topic '%s' for client %s" %
                                      (a_filter, format_client_message(session=session)))
                    subscriptions.pop(index)
                    deleted += 1
                    break
        except KeyError:
            # Unsubscribe topic not found in current subscribed topics
            pass
        finally:
            return deleted
410872
def remove_proxy(self, proxy):
        """"""
        del self.search_flag[proxy.protocol][proxy.addr]
        del self.addr_list[proxy.protocol][proxy.addr]
1100281
void remove() {
        int nLen = length();
        for (int i = nLen - 1; i >= 0; i--) {
            XML xml = getXmlFromAnnotation(i);
            if (xml != null) {
                xml.remove();
                internalRemoveFromList(i);
            }
        }
    }