summaryrefslogtreecommitdiffstats
path: root/lib/fileproxy/fileoperations.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fileproxy/fileoperations.php')
-rw-r--r--lib/fileproxy/fileoperations.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/fileproxy/fileoperations.php b/lib/fileproxy/fileoperations.php
index 516629adaec..47ccd8f8c26 100644
--- a/lib/fileproxy/fileoperations.php
+++ b/lib/fileproxy/fileoperations.php
@@ -28,10 +28,10 @@ class OC_FileProxy_FileOperations extends OC_FileProxy{
static $rootView;
public function premkdir($path) {
- if(!self::$rootView) {
- self::$rootView = new OC_FilesystemView('');
+ if(!self::$rootView){
+ self::$rootView = new \OC\Files\View('');
}
return !self::$rootView->file_exists($path);
}
-} \ No newline at end of file
+}