diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-10 12:51:15 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-10 12:51:15 +0200 |
commit | c88c54bbb054fe2d79b3a93604989d527b5dd444 (patch) | |
tree | b8468b49889399025fec238a438034dd00cec53f /lib/cache | |
parent | 4b9fbf46e554f8bb368e6cf5a8f75ca5c56e8228 (diff) | |
download | nextcloud-server-c88c54bbb054fe2d79b3a93604989d527b5dd444.tar.gz nextcloud-server-c88c54bbb054fe2d79b3a93604989d527b5dd444.zip |
make sure we can do our tests again
Diffstat (limited to 'lib/cache')
-rw-r--r-- | lib/cache/file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache/file.php b/lib/cache/file.php index 27d8b19f36e..f9ecf41dcac 100644 --- a/lib/cache/file.php +++ b/lib/cache/file.php @@ -15,11 +15,11 @@ class OC_Cache_File{ } if(OC_User::isLoggedIn()) { $subdir = 'cache'; - $view = new OC_FilesystemView('/'.OC_User::getUser()); + $view = new \OC\Files\View('/'.OC_User::getUser()); if(!$view->file_exists($subdir)) { $view->mkdir($subdir); } - $this->storage = new OC_FilesystemView('/'.OC_User::getUser().'/'.$subdir); + $this->storage = new \OC\Files\View('/'.OC_User::getUser().'/'.$subdir); return $this->storage; }else{ OC_Log::write('core', 'Can\'t get cache storage, user not logged in', OC_Log::ERROR); |