Skip to content
Snippets Groups Projects
Commit 11251ec8 authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

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

Fix variable for mounting for all users, fix #357
parents 049a4df2 8a5946fa
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment