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

Fix variable for mounting for all users, fix #357
remotes/origin/stable5
Bernhard Posselt 12 years ago
commit 11251ec8a8
  1. 2
      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) {

Loading…
Cancel
Save