lib/fal.php
public function delete($file = null)
	{
		$file = $file ?: $this->file;
		if ($this->fs->exists($file))
			$this->fs->delete($file);
		if ($this->f3->get('CACHE')) {
			$cache = \Cache::instance();
			if($cache->exists($cacheHash = $this->getCacheHash($file)))
				$cache->clear($cacheHash);
		}
		$this->metaHandle->delete($file);
	}
public function delete($file = null)
	{
		$file = $file ?: $this->file;
		if ($this->fs->exists($file))
			$this->fs->delete($file);
		if ($this->f3->get('CACHE')) {
			$cache = \Cache::instance();
			if($cache->exists($cacheHash = $this->getCacheHash($file)))
				$cache->clear($cacheHash);
		}
		$this->metaHandle->delete($file);
	}
public function delete ( $ file = null ) { $ file = $ file ? : $ this -> file ; if ( $ this -> fs -> exists ( $ file ) ) $ this -> fs -> delete ( $ file ) ; if ( $ this -> f3 -> get ( 'CACHE' ) ) { $ cache = \ Cache :: instance ( ) ; if ( $ cache -> exists ( $ cacheHash = $ this -> getCacheHash ( $ file ) ) ) $ cache -> clear ( $ cacheHash ) ; } $ this -> metaHandle -> delete ( $ file ) ; }
delete a file and it's meta data
@param null $file
delete a file and it s meta data