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
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-03-11 13:41:41 +0400
committerBernhard Posselt <nukeawhale@gmail.com>2013-03-11 13:41:41 +0400
commit11251ec8a8c22c35c40c5ee4ce995b63032124ed (patch)
tree2f126e3ab8f95723c1ba6c353d6e5d37cefb0e47
parent049a4df25939622a83d5ff1a8dbc03f9f7569c78 (diff)
parent8a5946fadc12b7327263eb1ec6bdb70a9718dd3e (diff)
Merge pull request #2218 from owncloud/fix-mounting-all
Fix variable for mounting for all users, fix #357
-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 40fef674a00..d32e082ade9 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -254,7 +254,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) {