Remove a configuration property/value setting from the config file.

    :param property_name: The name of the property to remove.
    :keyword system: Set to True to modify the system configuration file.
                     If not set, the user config file will be modified.

def remove(property_name, system=False):
    """
    Remove a configuration property/value setting from the config file.

    :param property_name: The name of the property to remove.
    :keyword system: Set to True to modify the system configuration file.
                     If not set, the user config file will be modified.
    """
    config_filename = \
        _SYSTEM_CONFIG_FILE if system is True else _USER_CONFIG_FILE
    config = _read_config(config_filename)

    section = _MAIN_SECTION_NAME
    config.remove_option(section, property_name)
    _write_config(config, config_filename)