apps/dav/lib/Upload/UploadHome.php 1 location
|
@@ 88-90 (lines=3) @@
|
| 85 |
|
$rootView = new View(); |
| 86 |
|
$user = \OC::$server->getUserSession()->getUser(); |
| 87 |
|
Filesystem::initMountPoints($user->getUID()); |
| 88 |
|
if (!$rootView->file_exists('/' . $user->getUID() . '/uploads')) { |
| 89 |
|
$rootView->mkdir('/' . $user->getUID() . '/uploads'); |
| 90 |
|
} |
| 91 |
|
$view = new View('/' . $user->getUID() . '/uploads'); |
| 92 |
|
$rootInfo = $view->getFileInfo(''); |
| 93 |
|
return new Directory($view, $rootInfo); |
lib/private/Cache/File.php 1 location
|
@@ 56-58 (lines=3) @@
|
| 53 |
|
$rootView = new View(); |
| 54 |
|
$user = \OC::$server->getUserSession()->getUser(); |
| 55 |
|
Filesystem::initMountPoints($user->getUID()); |
| 56 |
|
if (!$rootView->file_exists('/' . $user->getUID() . '/cache')) { |
| 57 |
|
$rootView->mkdir('/' . $user->getUID() . '/cache'); |
| 58 |
|
} |
| 59 |
|
$this->storage = new View('/' . $user->getUID() . '/cache'); |
| 60 |
|
return $this->storage; |
| 61 |
|
} else { |