/** * Delete a file. * * This method is called in response to unlink(). * * Note: In order for the appropriate error message to be returned this * method should not be defined if the wrapper does not support removing * files. * * @param string $path The file URL which should be deleted. * @return boolean TRUE on success or FALSE on failure. */ public function unlink($path) { $this->createStreamWrapper($path); return $this->streamWrapper->unlink($path); }