Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Oct 1, 2024

Backport of #6485

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@max-nextcloud max-nextcloud force-pushed the backport/6485/stable29 branch from a185a14 to 7509d9c Compare October 1, 2024 19:59
@max-nextcloud max-nextcloud marked this pull request as ready for review October 1, 2024 20:01
Comment on lines -119 to +122
if (count($this->rootFolder->getUserFolder($userId)->getById($documentId)) === 0) {
if ($this->rootFolder->getUserFolder($userId)->getFirstNodeById($documentId) === null) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Originally from #5933 - included here for consistency (we also use getFirstNodeById below).

@provokateurin provokateurin merged commit a7e2022 into stable29 Oct 1, 2024
@provokateurin provokateurin deleted the backport/6485/stable29 branch October 1, 2024 20:41
@Altahrim Altahrim mentioned this pull request Oct 2, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants