Removes given config option from the configuration.

@param configOption config option to remove
@param <T> Type of the config option
@return true is config has been removed, false otherwise
355092
public <T> boolean removeConfig(ConfigOption<T> configOption){
		synchronized (this.confData){
			// try the current key
			Object oldValue = this.confData.remove(configOption.key());
			if (oldValue == null){
				for (FallbackKey fallbackKey : configOption.fallbackKeys()){
					oldValue = this.confData.remove(fallbackKey.getKey());
					if (oldValue != null){
						loggingFallback(fallbackKey, configOption);
						return true;
					}
				}
				return false;
			}
			return true;
		}
	}
753591
public static boolean hasAccess(Config config, int type) {

	boolean has = true;
	if (config instanceof ConfigWeb) {
	    has = ((ConfigWeb) config).getSecurityManager().getAccess(type) != SecurityManager.VALUE_NO;
	}
	return has;
    }
343700
@Override
	public void removeByGroupId(long groupId) {
		for (CPOptionValue cpOptionValue : findByGroupId(groupId,
				QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpOptionValue);
		}
	}
88367
public void removeJobType(final Class<?> jobType) {
        if (jobType == null) {
            throw new IllegalArgumentException("jobType must not be null");
        }
        this.jobTypes.values().remove(jobType);
    }
915233
public function removeType(string $type)
    {
        if (!$this->removing && Type::hasType($type)) {
            $this->removing = true;
            Type::overrideType($type, null);
        }

        $this->removing = false;
        unset($this->types[$type]);
    }
870803
@Override
	public void removeByGroupId(long groupId) {
		for (CPOption cpOption : findByGroupId(groupId, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(cpOption);
		}
	}
1050339
public function set($configOption, $configValue)
    {
        $this->repository->git(sprintf('config --local %s %s', $configOption, $configValue));
        unset($this->configuration[$configOption]);
    }
1057831
@Override
	public void removeByC_COC(long CPDefinitionId, long CPOptionCategoryId) {
		for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : findByC_COC(
				CPDefinitionId, CPOptionCategoryId, QueryUtil.ALL_POS,
				QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionSpecificationOptionValue);
		}
	}
144135
function remove(oTarget, oListener, oConfiguration) {
		oConfiguration = oConfiguration || getConfiguration(oTarget, oListener);
		updateConfiguration(oTarget, oListener, oConfiguration, true);
	}
233618
public OptionGroup removeOption(Option option) {
        if (option == null) {
            throw new IllegalArgumentException("Option cannot be null");
        }

        options.remove(option.getValue());
        return this;
    }
926713
public function removeOption($option)
    {
        if ($this->hasOption($option)) {
            $key = array_search($option, $this->options);
            unset($this->options[$key]);
        }
    }
670508
public static boolean erasesToAnyOf(DeclaredType type, QualifiedName... possibilities) {
    if (type == null) {
      return false;
    }
    String erasedType = type.asElement().toString();
    for (QualifiedName possibility : possibilities) {
      if (unshadedName(possibility.toString()).equals(erasedType)) {
        return true;
      }
    }
    return false;
  }
1128115
def do_remove(config, config_dir):
    
    if not os.path.exists(config_dir):
        print "Configuration '{}' does not exist.".format(config)
        exit(1)
    if confirm("Confirm removal of the configuration '{}'".format(config)):
        shutil.rmtree(config_dir)
        print "Configuration '{}' has been removed.".format(config)
    else:
        print "Removal cancelled."
1131782
@Override
	public void removeByCPOptionCategoryId(long CPOptionCategoryId) {
		for (CPSpecificationOption cpSpecificationOption : findByCPOptionCategoryId(
				CPOptionCategoryId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpSpecificationOption);
		}
	}
749285
private String type(Options opt, Type t, boolean generics) {
	return ((generics ? opt.showQualifiedGenerics : opt.showQualified) ? //
		t.qualifiedTypeName() : t.typeName()) //
		+ (opt.hideGenerics ? "" : typeParameters(opt, t.asParameterizedType()));
    }
581091
@Indexable(type = IndexableType.DELETE)
	@Override
	public CPSpecificationOption deleteCPSpecificationOption(
		CPSpecificationOption cpSpecificationOption) throws PortalException {
		return cpSpecificationOptionPersistence.remove(cpSpecificationOption);
	}
758328
def del_option(self, section, option):
        
        if self.config.has_section(section):
            if self.config.has_option(section, option):
                self.config.remove_option(section, option)
                return (True, self.config.options(section))
            return (False, 'Option: ' + option + ' does not exist')
        return (False, 'Section: ' + section + ' does not exist')