Commit 6dd5bc03 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Fix code style as per review

parent 350f8eb8
......@@ -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];
......
Supports Markdown
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