diff --git a/lib/Mount/MountProvider.php b/lib/Mount/MountProvider.php index 7a664cf7f..44241a620 100644 --- a/lib/Mount/MountProvider.php +++ b/lib/Mount/MountProvider.php @@ -294,7 +294,7 @@ public function getTrashMount( $storage = $this->getRootFolder()->getStorage(); - $storage->setOwner($user?->getUID()); + $storage->setOwner($user->getUID()); $trashPath = $this->getRootFolder()->getInternalPath() . '/trash/' . $id;