You are here

final public function FileTransfer::removeDirectory in Drupal 7

Removes a directory.

Parameters

$directory: The directory to be removed.

1 call to FileTransfer::removeDirectory()
FileTransferFTPExtension::removeDirectoryJailed in includes/filetransfer/ftp.inc
Removes a directory.

File

includes/filetransfer/filetransfer.inc, line 118

Class

FileTransfer

Code

public final function removeDirectory($directory) {
  $directory = $this
    ->fixRemotePath($directory);
  $this
    ->checkPath($directory);
  $this
    ->removeDirectoryJailed($directory);
}