Fix view path

This commit is contained in:
Victor Dubiniuk 2013-11-09 13:10:00 +03:00
parent d77f15eaae
commit e63943cc52

View File

@ -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){