diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-03-31 15:07:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-31 15:07:39 +0200 |
commit | 57020a0c3633639eff943976cf1cc978efbb344c (patch) | |
tree | 298ef40bb8bb38102ae47176921d2a9d1d5cee45 /apps/files_external/lib | |
parent | 85da9378c0a46840b53d7c90bb88996bd62e7677 (diff) | |
parent | 76d8699c0f3678ee77879831229832557b7f0ec8 (diff) | |
download | nextcloud-server-57020a0c3633639eff943976cf1cc978efbb344c.tar.gz nextcloud-server-57020a0c3633639eff943976cf1cc978efbb344c.zip |
Merge pull request #3438 from nextcloud/external-storage-user-folder
Allow using '/' as external storage mountpoint
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r-- | apps/files_external/lib/Controller/StoragesController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Controller/StoragesController.php b/apps/files_external/lib/Controller/StoragesController.php index ef7cc8c6e4f..d962848bd78 100644 --- a/apps/files_external/lib/Controller/StoragesController.php +++ b/apps/files_external/lib/Controller/StoragesController.php @@ -143,7 +143,7 @@ abstract class StoragesController extends Controller { */ protected function validate(StorageConfig $storage) { $mountPoint = $storage->getMountPoint(); - if ($mountPoint === '' || $mountPoint === '/') { + if ($mountPoint === '') { return new DataResponse( array( 'message' => (string)$this->l10n->t('Invalid mount point') |