1 filetransfer.test | TestFileTransfer::removeFileJailed($destination) |
Removes a file.
Parameters
$destination: The destination file to be removed.
Overrides FileTransfer::removeFileJailed
File
- core/
modules/ simpletest/ tests/ filetransfer.test, line 129
Class
Code
function removeFileJailed($destination) {
if (!ftp_delete($this->connection, $item)) {
throw new FileTransferException('Unable to remove to file @file.', NULL, array('@file' => $item));
}
}