Removes feed type options.

Use this in case you change your mind and want to remove the Feed Type
parameters you previously set.
429296
public function resetFeedTypes(){
        foreach($this->options as $op=>$junk){
            if(preg_match("#FeedTypeList#",$op)){
                unset($this->options[$op]);
            }
        }
    }
581296
public function removeCachedMenu()
    {
        $menuTypeIds = $this->menu_items()->pluck('menu_type_id')->unique()->all();

        foreach ( $menuTypeIds as $menuTypeId ) {
            MenuHelper::clearCache($menuTypeId, app()->getLocale());
        }
    }
1113507
public void clear() {
        this.contentType = null;
        this.encoding = null;
        this.locale = null;
        this.outStream = null;
        this.outWriter = null;
        this.streamActive = false;
    }
455154
def clear(self):
        '''
        
        '''
        self._mimetype_functions = list(self._default_mimetype_functions)
        super(MimetypePluginManager, self).clear()
879474
def remove_params(self, *args):
        
        for a in args:
            self._orig_kwargs.pop(a)
        self.kwargs = self._orig_kwargs.copy()
976910
public void removeType(String resourceType) {

        m_searchObject.removeType(resourceType);
        m_searchObjectChanged = true;
        ValueChangeEvent.fire(this, m_searchObject);
    }
575635
private void removeSettings() {
        Editor editor = PreferenceManager.getDefaultSharedPreferences(mContext).edit();
        editor.remove(mContext.getString(R.string.wings_facebook__destination_id_key));
        editor.remove(mContext.getString(R.string.wings_facebook__account_name_key));
        editor.remove(mContext.getString(R.string.wings_facebook__album_name_key));
        editor.remove(mContext.getString(R.string.wings_facebook__album_graph_path_key));
        editor.remove(mContext.getString(R.string.wings_facebook__page_access_token_key));
        editor.remove(mContext.getString(R.string.wings_facebook__photo_privacy_key));

        // Set preference to unlinked.
        editor.putBoolean(mContext.getString(R.string.wings_facebook__link_key), false);
        editor.apply();
    }
291556
def remove_event_type(self, name):
        """"""

        if name not in self.event_types:
            lg.info('Event type ' + name + ' was not found.')

        events = self.rater.find('events')

        # list is necessary so that it does not remove in place
        for e in list(events):
            if e.get('type') == name:
                events.remove(e)

        self.save()
93813
private function ClearOptions()
    {
        $sql = Access::SqlBuilder();
        $tblOptions = RadioOption::Schema()->Table();
        $where = $sql->Equals($tblOptions->Field('RadioField'), $sql->Value($this->radio->GetID()));
        RadioOption::Schema()->Delete($where);
    }
296941
public void clear() {
        weightParams.clear();
        biasParams.clear();
        paramsList = null;
        weightParamsList = null;
        biasParamsList = null;
    }
223100
def unset(*options)
      options.flatten
             .sort_by { |key| OPTION_ORDER.find_index(key) || -1 }
             .each { |key| stream_puts "unset #{OptionHandling.string_key(key)}" }
      self
    end
593720
def delete(self, option):
        
        if self.config is not None:
            if option in self.config:
                del self.config[option]
757538
public static function cleanup()
    {
        remove_action('wp_head', 'feed_links_extra', 3); // remove extra RSS links (as category)
        remove_action('wp_head', 'rsd_link');
        remove_action('wp_head', 'wlwmanifest_link');
        remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0);
        remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0);
        remove_filter('dbem_notes', 'wpautop');

        global $wp_widget_factory;
        remove_action('wp_head', [$wp_widget_factory->widgets['WP_Widget_Recent_Comments'], 'recent_comments_style']);
    }
287582
public function clearBlockTypes()
    {
        $app = Application::getFacadeApplication();
        $db = $app->make(Connection::class);
        $db->delete('BlockTypeSetBlockTypes', ['btsID' => $this->getBlockTypeSetID()]);
    }
952031
def _clear_callbacks(self) -> None:
        
        self._write_callback = None
        self._write_future = None  # type: Optional[Future[None]]
        self._close_callback = None  # type: Optional[Callable[[], None]]
        if self.stream is not None:
            self.stream.set_close_callback(None)
161709
function(type, handler) {
      if (!this.listeners_)
        return;
      if (type in this.listeners_) {
        var handlers = this.listeners_[type];
        var index = handlers.indexOf(handler);
        if (index >= 0) {
          // Clean up if this was the last listener.
          if (handlers.length == 1)
            delete this.listeners_[type];
          else
            handlers.splice(index, 1);
        }
      }
    }
373688
public function resetReportTypes(){
        foreach($this->options as $op=>$junk){
            if(preg_match("#ReportTypeList#",$op)){
                unset($this->options[$op]);
            }
        }
    }