Fix code style as per review
This commit is contained in:
parent
350f8eb86e
commit
6dd5bc0379
1 changed files with 2 additions and 2 deletions
|
@ -59,8 +59,8 @@ class SFTP extends \OC\Files\Storage\Common {
|
|||
}
|
||||
|
||||
//deals with server:port
|
||||
$HasPort = strpos($this->host,':');
|
||||
if($HasPort != false) {
|
||||
$hasPort = strpos($this->host,':');
|
||||
if($hasPort != false) {
|
||||
$pieces = explode(":", $this->host);
|
||||
$this->host = $pieces[0];
|
||||
$this->port = $pieces[1];
|
||||
|
|
Loading…
Reference in a new issue