mirror of
https://github.com/nextcloud/server.git
synced 2026-04-25 08:08:33 -04:00
Fix loading as guest
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
4ec0afd0e7
commit
2535e0ec04
1 changed files with 3 additions and 0 deletions
|
|
@ -65,6 +65,9 @@ class BackgroundService {
|
|||
];
|
||||
|
||||
public function __construct(IRootFolder $rootFolder, IAppData $appData, $userId) {
|
||||
if ($userId === null) {
|
||||
return;
|
||||
}
|
||||
$this->userFolder = $rootFolder->getUserFolder($userId);
|
||||
try {
|
||||
$this->dashboardUserFolder = $appData->getFolder($userId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue