From 6dd5bc0379505520867d3dbcba40d6dd95546f6a Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 24 Feb 2015 13:22:12 +0100 Subject: [PATCH] Fix code style as per review --- apps/files_external/lib/sftp.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_external/lib/sftp.php b/apps/files_external/lib/sftp.php index 398f59c7db..be10fa59a6 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];