Cache: mount user mountpoints to make sure that // exists before accessing it. Fixes #2553 and #2374
This commit is contained in:
parent
96b1e54d4a
commit
c8a2beccb0
|
@ -14,6 +14,7 @@ class OC_Cache_File{
|
|||
return $this->storage;
|
||||
}
|
||||
if(OC_User::isLoggedIn()) {
|
||||
\OC\Files\Filesystem::initMountPoints(OC_User::getUser());
|
||||
$subdir = 'cache';
|
||||
$view = new \OC\Files\View('/'.OC_User::getUser());
|
||||
if(!$view->file_exists($subdir)) {
|
||||
|
|
Loading…
Reference in New Issue