summaryrefslogtreecommitdiffstats
path: root/lib/fileproxy
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-10 13:18:36 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-10 13:18:36 +0200
commitaaa1b733642c41821a53bc6d04fab246bfe7f1e6 (patch)
treed5eb087401acb4591f176a87c01f276f42a307af /lib/fileproxy
parentc88c54bbb054fe2d79b3a93604989d527b5dd444 (diff)
downloadnextcloud-server-aaa1b733642c41821a53bc6d04fab246bfe7f1e6.tar.gz
nextcloud-server-aaa1b733642c41821a53bc6d04fab246bfe7f1e6.zip
don't use depricated OC_Filesystem
Diffstat (limited to 'lib/fileproxy')
-rw-r--r--lib/fileproxy/quota.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileproxy/quota.php b/lib/fileproxy/quota.php
index 5a0dbdb6fe2..bc5ef9c8df4 100644
--- a/lib/fileproxy/quota.php
+++ b/lib/fileproxy/quota.php
@@ -88,7 +88,7 @@ class OC_FileProxy_Quota extends OC_FileProxy{
public function preCopy($path1,$path2) {
if(!self::$rootView){
- self::$rootView = new OC_FilesystemView('');
+ self::$rootView = new \OC\Files\View('');
}
return (self::$rootView->filesize($path1)<$this->getFreeSpace() or $this->getFreeSpace()==0);
}