diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-03 09:39:14 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-09-03 09:57:18 +0100 |
commit | e33d7b34fa14541b6d757e7cb2551870c939d15e (patch) | |
tree | 477333912ecc0325e2762f2bc4a00723f4bcd40b /apps/files_external | |
parent | 0b97a05e7bd631d66de1c2aee115113ada8a5f63 (diff) | |
download | nextcloud-server-e33d7b34fa14541b6d757e7cb2551870c939d15e.tar.gz nextcloud-server-e33d7b34fa14541b6d757e7cb2551870c939d15e.zip |
Fix typo in SMB_OC
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/backend/smb_oc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/backend/smb_oc.php b/apps/files_external/lib/backend/smb_oc.php index 67fa8ffb2c4..3621682fb8f 100644 --- a/apps/files_external/lib/backend/smb_oc.php +++ b/apps/files_external/lib/backend/smb_oc.php @@ -58,9 +58,9 @@ class SMB_OC extends Backend { } public function manipulateStorageConfig(StorageConfig &$storage) { - $username_as_share = ($storage->getBackendOption('username_as_share') === 'true'); + $username_as_share = ($storage->getBackendOption('username_as_share') === true); - if ($this->username_as_share) { + if ($username_as_share) { $share = '/' . $storage->getBackendOption('user'); $storage->setBackendOption('share', $share); } |