Skip to content
Snippets Groups Projects
Commit 6dd5bc03 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Fix code style as per review

parent 350f8eb8
Branches
No related tags found
No related merge requests found
......@@ -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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment