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:
commit
4b3c58c2ca
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue