src/classes/CCFile.php
public static function delete( $path ) 
	{
		$success = false;

		if ( file_exists( $path ) ) 
		{
			$success = unlink( $path );
		}

		if ( static::_can_print() ) 
		{
			if ( $success )
			{
				CCCli::line( CCCli::color( 'removed', 'green' ).' '.$path );
			}
			else 
			{
				CCCli::line( CCCli::color( 'removing failure', 'red' ).' '.$path );
			}
		}

		return $success;
	}
public static function delete( $path ) 
	{
		$success = false;

		if ( file_exists( $path ) ) 
		{
			$success = unlink( $path );
		}

		if ( static::_can_print() ) 
		{
			if ( $success )
			{
				CCCli::line( CCCli::color( 'removed', 'green' ).' '.$path );
			}
			else 
			{
				CCCli::line( CCCli::color( 'removing failure', 'red' ).' '.$path );
			}
		}

		return $success;
	}
public static function delete ( $ path ) { $ success = false ; if ( file_exists ( $ path ) ) { $ success = unlink ( $ path ) ; } if ( static :: _can_print ( ) ) { if ( $ success ) { CCCli :: line ( CCCli :: color ( 'removed' , 'green' ) . ' ' . $ path ) ; } else { CCCli :: line ( CCCli :: color ( 'removing failure' , 'red' ) . ' ' . $ path ) ; } } return $ success ; }
Delete a file
This function is going to remove a file from your filesystem

@param string 	$path
@return bool
Delete a file This function is going to remove a file from your filesystem