Commit d1ba6c41 authored by webchick's avatar webchick
Browse files

#395472 follow-up by Frando: Fix typo in class definitions.

parent d7e2be15
...@@ -15,7 +15,7 @@ function __construct($settings) { ...@@ -15,7 +15,7 @@ function __construct($settings) {
/** /**
* Connection class using the FTP URL wrapper. * Connection class using the FTP URL wrapper.
*/ */
class FileTransferFTPWrapper extends FileTransfer { class FileTransferFTPWrapper extends FileTransferFTP {
function connect() { function connect() {
$this->connection = 'ftp://' . urlencode($this->username) . ':' . urlencode($this->password) . '@' . $this->hostname . ':' . $this->port . '/'; $this->connection = 'ftp://' . urlencode($this->username) . ':' . urlencode($this->password) . '@' . $this->hostname . ':' . $this->port . '/';
if (!is_dir($this->connection)) { if (!is_dir($this->connection)) {
...@@ -69,7 +69,7 @@ function removeFile($destination) { ...@@ -69,7 +69,7 @@ function removeFile($destination) {
} }
} }
class FileTransferFTPExtension extends FileTransfer { class FileTransferFTPExtension extends FileTransferFTP {
function connect() { function connect() {
$this->connection = ftp_connect($this->hostname, $this->port); $this->connection = ftp_connect($this->hostname, $this->port);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment