Merge pull request #2218 from owncloud/fix-mounting-all

Fix variable for mounting for all users, fix #357
This commit is contained in:
Bernhard Posselt 2013-03-11 02:41:41 -07:00
commit 11251ec8a8
1 changed files with 1 additions and 1 deletions

View File

@ -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) {