]> source.dussan.org Git - nextcloud-server.git/commitdiff
Cache: mount user mountpoints to make sure that // exists before accessing it. Fixes...
authorArthur Schiwon <blizzz@owncloud.com>
Fri, 26 Apr 2013 11:20:12 +0000 (13:20 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 3 Jun 2013 20:36:36 +0000 (22:36 +0200)
lib/cache/file.php

index f9ecf41dcacf91f63da8f759434356f086e5574a..531e1d50f40490aa370d14a297cf3bb552cdf450 100644 (file)
@@ -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)) {