summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-24 13:22:12 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-24 13:22:12 +0100
commit6dd5bc0379505520867d3dbcba40d6dd95546f6a (patch)
tree24eb3a3dd9a9cf745d9a55e3174b6d581d446d4f /apps
parent350f8eb86eb415a1c6c582242c77d63e92705025 (diff)
downloadnextcloud-server-6dd5bc0379505520867d3dbcba40d6dd95546f6a.tar.gz
nextcloud-server-6dd5bc0379505520867d3dbcba40d6dd95546f6a.zip
Fix code style as per review
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/sftp.php4
1 files changed, 2 insertions, 2 deletions
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];