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