english/libraries/joomla/filesystem/stream.php
/**
	 * Deletes a particular setting from a context
	 *
	 * @param   string  $wrapper  The wrapper to use
	 * @param   string  $name     The option to unset
	 *
	 * @return  void
	 *
	 * @see     http://php.net/stream_context_create
	 * @since   11.1
	 */
Deletes a particular setting from a context
@param   string  $wrapper  The wrapper to use
@param   string  $name     The option to unset

@return  void


Deletes a particular setting from a context @param string $wrapper The wrapper to use @param string $name The option to unset @return void
function deleteContextEntry($wrapper, $name)
	{
		if (isset($this->_contextOptions[$wrapper])) {
			if (isset($this->_contextOptions[$wrapper][$name])) {
				unset($this->_contextOptions[$wrapper][$name]);
				if (!count($this->_contextOptions[$wrapper])) {
					unset($this->_contextOptions[$wrapper]);
				}
			}
		}
		$this->_buildContext();
	}
function deleteContextEntry ( $ wrapper , $ name ) { if ( isset ( $ this -> _contextOptions [ $ wrapper ] ) ) { if ( isset ( $ this -> _contextOptions [ $ wrapper ] [ $ name ] ) ) { unset ( $ this -> _contextOptions [ $ wrapper ] [ $ name ] ) ; if ( ! count ( $ this -> _contextOptions [ $ wrapper ] ) ) { unset ( $ this -> _contextOptions [ $ wrapper ] ) ; } } } $ this -> _buildContext ( ) ; }
Deletes a particular setting from a context
 @param   string  $wrapper  The wrapper to use
 @param   string  $name     The option to unset
Deletes a particular setting from a context @param string $wrapper The wrapper to use @param string $name The option to unset
// Check whether the wrapper is set // Check that entry is set for that wrapper // Unset the item // Check that there are still items there // Clean up an empty wrapper context option // Rebuild the context and apply it to the stream