aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-04 18:28:29 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-04 18:28:29 +0100
commit0e70ea9d8baa449ee3c8309f2b6a59ce06a55926 (patch)
tree538076bdc23be31e88ba012aa4f26448c8fd1ca3 /apps/files_external/lib
parent1205749f8cec19c30c9f58f7f97832fac9a4c502 (diff)
downloadnextcloud-server-0e70ea9d8baa449ee3c8309f2b6a59ce06a55926.tar.gz
nextcloud-server-0e70ea9d8baa449ee3c8309f2b6a59ce06a55926.zip
Checkstyle: Fix the last 25 NoSpaceAfterComma
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/smb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/smb.php b/apps/files_external/lib/smb.php
index d7636894347..802d80d8d1f 100644
--- a/apps/files_external/lib/smb.php
+++ b/apps/files_external/lib/smb.php
@@ -24,7 +24,7 @@ class OC_FileStorage_SMB extends OC_FileStorage_StreamWrapper{
if(!$this->root || $this->root[0]!='/') {
$this->root='/'.$this->root;
}
- if(substr($this->root,-1, 1)!='/') {
+ if(substr($this->root, -1, 1)!='/') {
$this->root.='/';
}
if(!$this->share || $this->share[0]!='/') {
@@ -41,7 +41,7 @@ class OC_FileStorage_SMB extends OC_FileStorage_StreamWrapper{
}
public function constructUrl($path) {
- if(substr($path,-1)=='/') {
+ if(substr($path, -1)=='/') {
$path=substr($path, 0, -1);
}
return 'smb://'.$this->user.':'.$this->password.'@'.$this->host.$this->share.$this->root.$path;