1 filetransfer.inc public FileTransfer::__unset($name)

Implementation of the magic __unset() method.

Parameters

string $name: The name of the variable to unset.

File

core/includes/filetransfer/filetransfer.inc, line 168
Base FileTransfer class.

Class

FileTransfer
@file Base FileTransfer class.

Code

public function __unset($name) {
  if ($name == 'connection') {
    unset($this->connectionHandle);
  }
  elseif ($name == 'chroot') {
    unset($this->chrootPath);
  }
}