Merge pull request #3376 from owncloud/fix_for_disappearing_root_mount_point

fix for disappearing root mount point on lib/files/filesystem.php
This commit is contained in:
Thomas Müller 2013-05-15 12:34:32 -07:00
commit 4b3c58c2ca

View file

@ -222,7 +222,10 @@ class Filesystem {
return false;
}
self::$defaultInstance = new View($root);
self::$mounts = new Mount\Manager();
if(!self::$mounts) {
self::$mounts = new Mount\Manager();
}
//load custom mount config
self::initMountPoints($user);