There was an error while loading. Please reload this page.
1 parent 43701a5 commit fa93943Copy full SHA for fa93943
1 file changed
apps/files_trashbin/lib/BackgroundJob/ExpireTrash.php
@@ -90,7 +90,7 @@ private function getTrashRoot(IUser $user): Folder {
90
$this->setupManager->tearDown();
91
$this->setupManager->setupForUser($user);
92
93
- $folder = $this->rootFolder->getUserFolder($user->getUID())->getParent()->get('files_trashbin');
+ $folder = $this->rootFolder-> getUserFolder($user->getUID())->getParent()->getOrCreateFolder('files_trashbin');
94
if (!$folder instanceof Folder) {
95
throw new \LogicException("Didn't expect files_trashbin to be a file instead of a folder");
96
}
0 commit comments