Roll-back of #395472 follow-up. Seeing if this causes testing bot to quit spazzing out.

merge-requests/26/head
Angie Byron 2009-06-24 01:45:09 +00:00
parent d1ba6c419c
commit 48d3eff243
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ abstract class FileTransferFTP extends FileTransfer {
/** /**
* Connection class using the FTP URL wrapper. * Connection class using the FTP URL wrapper.
*/ */
class FileTransferFTPWrapper extends FileTransferFTP { class FileTransferFTPWrapper extends FileTransfer {
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 @@ class FileTransferFTPWrapper extends FileTransferFTP {
} }
} }
class FileTransferFTPExtension extends FileTransferFTP { class FileTransferFTPExtension extends FileTransfer {
function connect() { function connect() {
$this->connection = ftp_connect($this->hostname, $this->port); $this->connection = ftp_connect($this->hostname, $this->port);