Skip to content

Commit

Permalink
Merge pull request #6094 from nextcloud/backport/5794/stable27
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr authored Jul 12, 2024
2 parents ddf9d55 + 017fa30 commit e7feac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/ConfigService.php
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public function getAttachmentFolder(string $userId = null): string {
return $this->config->getUserValue($userId ?? $this->getUserId(), 'deck', 'attachment_folder', '/Deck');
}

public function setAttachmentFolder(?string $userId = null, string $path): void {
public function setAttachmentFolder(?string $userId, string $path): void {
if ($userId === null && $this->getUserId() === null) {
throw new NoPermissionException('Must be logged in get the attachment folder');
}
Expand Down

0 comments on commit e7feac8

Please sign in to comment.