Commit 6cd88832 authored by webchick's avatar webchick

Issue #2080365 by mrsinguyen: Remove Unused local variable from...

Issue #2080365 by mrsinguyen: Remove Unused local variable  from /core/modules/system/lib/Drupal/system/Tests/FileTransfer/TestFileTransfer.php.
parent 1632e783
...@@ -33,8 +33,6 @@ static function factory($jail, $settings) { ...@@ -33,8 +33,6 @@ static function factory($jail, $settings) {
} }
function connect() { function connect() {
$parts = explode(':', $this->hostname);
$port = (count($parts) == 2) ? $parts[1] : $this->port;
$this->connection = new MockTestConnection(); $this->connection = new MockTestConnection();
$this->connection->connectionString = 'test://' . urlencode($this->username) . ':' . urlencode($this->password) . "@$this->host:$this->port/"; $this->connection->connectionString = 'test://' . urlencode($this->username) . ':' . urlencode($this->password) . "@$this->host:$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