Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-03-10 06:09:31 +0400
committerMichael Gapczynski <mtgap@owncloud.com>2013-03-10 06:09:31 +0400
commit8a5946fadc12b7327263eb1ec6bdb70a9718dd3e (patch)
tree5e43f605096f4aeb9f3d311ea71d22c2641364e8 /lib
parentdfbf57207d2d47a843b514728b7254e76930b20c (diff)
Fix variable for mounting for all users, fix #357
Diffstat (limited to 'lib')
-rw-r--r--lib/files/filesystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index 0bbd7550d74..d7cbb700321 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -249,7 +249,7 @@ class Filesystem {
}
if (isset($mountConfig['user'])) {
foreach ($mountConfig['user'] as $mountUser => $mounts) {
- if ($user === 'all' or strtolower($mountUser) === strtolower($user)) {
+ if ($mountUser === 'all' or strtolower($mountUser) === strtolower($user)) {
foreach ($mounts as $mountPoint => $options) {
$mountPoint = self::setUserVars($user, $mountPoint);
foreach ($options as &$option) {