Skip to content
Snippets Groups Projects
Commit d1ba6c41 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent d7e2be15
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -15,7 +15,7 @@ function __construct($settings) {
/**
* Connection class using the FTP URL wrapper.
*/
class FileTransferFTPWrapper extends FileTransfer {
class FileTransferFTPWrapper extends FileTransferFTP {
function connect() {
$this->connection = 'ftp://' . urlencode($this->username) . ':' . urlencode($this->password) . '@' . $this->hostname . ':' . $this->port . '/';
if (!is_dir($this->connection)) {
......@@ -69,7 +69,7 @@ function removeFile($destination) {
}
}
class FileTransferFTPExtension extends FileTransfer {
class FileTransferFTPExtension extends FileTransferFTP {
function connect() {
$this->connection = ftp_connect($this->hostname, $this->port);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment