diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-04-26 13:20:12 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-06-03 22:36:36 +0200 |
commit | c8a2beccb0b133cc8a24bdef73ffc3c774d70ae4 (patch) | |
tree | ca5682acad58f331af3b823acb5441e40c882ed7 /lib | |
parent | 96b1e54d4abf4d4dfe0e2e58d161c070d0ec7cdc (diff) | |
download | nextcloud-server-c8a2beccb0b133cc8a24bdef73ffc3c774d70ae4.tar.gz nextcloud-server-c8a2beccb0b133cc8a24bdef73ffc3c774d70ae4.zip |
Cache: mount user mountpoints to make sure that // exists before accessing it. Fixes #2553 and #2374
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cache/file.php | 1 |
1 files changed, 1 insertions, 0 deletions
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)) { |