summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/smb.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-09 17:35:47 +0100
committerBart Visscher <bartv@thisnet.nl>2013-02-14 08:36:26 +0100
commitcd35d257bb3bef2e02ccf0cd99e59a74f1a753b9 (patch)
tree65d75158609697518a2023932b75c60c1a99ea42 /apps/files_external/lib/smb.php
parentd3ef967993d1e685e3311b073a8312c9dafdf214 (diff)
downloadnextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.tar.gz
nextcloud-server-cd35d257bb3bef2e02ccf0cd99e59a74f1a753b9.zip
Fix NoSpaceAfterComma and SpaceBeforeComma
Diffstat (limited to 'apps/files_external/lib/smb.php')
-rw-r--r--apps/files_external/lib/smb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/smb.php b/apps/files_external/lib/smb.php
index ffba0d000ca..62f6591d25a 100644
--- a/apps/files_external/lib/smb.php
+++ b/apps/files_external/lib/smb.php
@@ -33,7 +33,7 @@ class SMB extends \OC\Files\Storage\StreamWrapper{
$this->share='/'.$this->share;
}
if(substr($this->share, -1, 1)=='/') {
- $this->share = substr($this->share,0,-1);
+ $this->share = substr($this->share, 0, -1);
}
}