From e63943cc52e74f549c9ae860cc928f1d5422a57a Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Sat, 9 Nov 2013 13:10:00 +0300 Subject: [PATCH] Fix view path --- lib/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/view.php b/lib/view.php index a39abf59..3f6ea8fd 100644 --- a/lib/view.php +++ b/lib/view.php @@ -20,7 +20,7 @@ class View extends \OC\Files\View{ if (!$ownerView->is_dir(self::DOCUMENTS_DIRNAME)) { $ownerView->mkdir(self::DOCUMENTS_DIRNAME); } - return $ownerView; + return new View('/' . $owner . self::DOCUMENTS_DIRNAME); } public function getFilePermissions($path){