From: Lukas Reschke Date: Tue, 24 Feb 2015 12:22:12 +0000 (+0100) Subject: Fix code style as per review X-Git-Tag: v8.1.0alpha1~414^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6dd5bc0379505520867d3dbcba40d6dd95546f6a;p=nextcloud-server.git Fix code style as per review --- diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php index 398f59c7db9..be10fa59a62 100644 --- a/apps/files_external/lib/sftp.php +++ b/apps/files_external/lib/sftp.php @@ -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];