Fix code style as per review

This commit is contained in:
Lukas Reschke 2015-02-24 13:22:12 +01:00
parent 350f8eb86e
commit 6dd5bc0379
1 changed files with 2 additions and 2 deletions

View File

@ -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];