english/libraries/joomla/cache/cache.php
/**
	 * Unset lock flag on cached item
	 *
	 * @param   string   $id		The cache data id
	 * @param   string   $group	The cache data group
	 *
	 * @return  boolean  True on success, false otherwise.
	 * @since   11.1
	 */
Unset lock flag on cached item
@param   string   $id                The cache data id
@param   string   $group     The cache data group

@return  boolean  True on success, false otherwise.
Unset lock flag on cached item @param string $id The cache data id @param string $group The cache data group @return boolean True on success false otherwise .
public function unlock($id,$group=null)
	{
		$unlock = false;
		$group = ($group) ? $group : $this->_options['defaultgroup'];
		$handler = $this->_getStorage();
		if (!JError::isError($handler) && $this->_options['caching']) {
			$unlocked = $handler->unlock($id, $group);
			if ($unlocked !== false) return $unlocked;
		}
		if ($this->_options['caching']) {
			$unlock = $this->remove($id.'_lock', $group);
		}
		return $unlock;
	}
public function unlock ( $ id , $ group = null ) { $ unlock = false ; $ group = ( $ group ) ? $ group : $ this -> _options [ 'defaultgroup' ] ; $ handler = $ this -> _getStorage ( ) ; if ( ! JError :: isError ( $ handler ) && $ this -> _options [ 'caching' ] ) { $ unlocked = $ handler -> unlock ( $ id , $ group ) ; if ( $ unlocked !== false ) return $ unlocked ; } if ( $ this -> _options [ 'caching' ] ) { $ unlock = $ this -> remove ( $ id . '_lock' , $ group ) ; } return $ unlock ; }
Unset lock flag on cached item
 @param   string   $id                The cache data id
 @param   string   $group     The cache data group
Unset lock flag on cached item @param string $id The cache data id @param string $group The cache data group
// Get the default group //allow handlers to perform unlocking on their own // fallback