diff --git a/lib/fileproxy/fileoperations.php b/lib/fileproxy/fileoperations.php
index 23fb63fcfb114383631da82cb3c1d8dbb78738cc..47ccd8f8c26241a51df49fec4af2c0da41c0babe 100644
--- a/lib/fileproxy/fileoperations.php
+++ b/lib/fileproxy/fileoperations.php
@@ -29,9 +29,9 @@ class OC_FileProxy_FileOperations extends OC_FileProxy{
 
 	public function premkdir($path) {
 		if(!self::$rootView){
-			self::$rootView = new OC_FilesystemView('');
+			self::$rootView = new \OC\Files\View('');
 		}
 		return !self::$rootView->file_exists($path);
 	}
 
-}
\ No newline at end of file
+}