core-bundle/src/Resources/contao/library/Contao/File.php
public function delete()
	{
		$return = $this->Files->delete($this->strFile);

		// Update the database
		if (Dbafs::shouldBeSynchronized($this->strFile))
		{
			Dbafs::deleteResource($this->strFile);
		}

		return $return;
	}
public function delete()
	{
		$return = $this->Files->delete($this->strFile);

		// Update the database
		if (Dbafs::shouldBeSynchronized($this->strFile))
		{
			Dbafs::deleteResource($this->strFile);
		}

		return $return;
	}
public function delete ( ) { $ return = $ this -> Files -> delete ( $ this -> strFile ) ; // Update the database if ( Dbafs :: shouldBeSynchronized ( $ this -> strFile ) ) { Dbafs :: deleteResource ( $ this -> strFile ) ; } return $ return ; }
Delete the file

@return boolean True if the operation was successful
Delete the file