From: Arthur Schiwon Date: Fri, 26 Apr 2013 11:20:12 +0000 (+0200) Subject: Cache: mount user mountpoints to make sure that // exists before accessing it. Fixes... X-Git-Tag: v6.0.0alpha2~685 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c8a2beccb0b133cc8a24bdef73ffc3c774d70ae4;p=nextcloud-server.git Cache: mount user mountpoints to make sure that // exists before accessing it. Fixes #2553 and #2374 --- diff --git a/lib/cache/file.php b/lib/cache/file.php index f9ecf41dcac..531e1d50f40 100644 --- a/lib/cache/file.php +++ b/lib/cache/file.php @@ -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)) {