summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-04-14 10:15:43 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-04-23 12:54:25 +0200
commit22e0a4b9a8835df4bfc88b478e694b0983cb1060 (patch)
treefd0831c78289666f4b61c674eb3b4834872cc844 /apps/files_external/lib
parentc9bd2f7a6c1e72a2ed6d7aa5f180e2c0757ac24c (diff)
downloadnextcloud-server-22e0a4b9a8835df4bfc88b478e694b0983cb1060.tar.gz
nextcloud-server-22e0a4b9a8835df4bfc88b478e694b0983cb1060.zip
external storages: allow to mount a folder called "Shared", it is no longer a reserved name
Diffstat (limited to 'apps/files_external/lib')
-rwxr-xr-xapps/files_external/lib/config.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php
index 71f6ae78878..99eca2f38cf 100755
--- a/apps/files_external/lib/config.php
+++ b/apps/files_external/lib/config.php
@@ -373,8 +373,8 @@ class OC_Mount_Config {
$isPersonal = false) {
$backends = self::getBackends();
$mountPoint = OC\Files\Filesystem::normalizePath($mountPoint);
- if ($mountPoint === '' || $mountPoint === '/' || $mountPoint == '/Shared') {
- // can't mount at root or "Shared" folder
+ if ($mountPoint === '' || $mountPoint === '/') {
+ // can't mount at root folder
return false;
}