Skip to content

Commit

Permalink
allow using shared notes folder
Browse files Browse the repository at this point in the history
Signed-off-by: simeon <simeonehrig@web.de>
  • Loading branch information
SimeonEhrig committed May 11, 2024
1 parent 01fb6c7 commit 4e7ef8d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Service/NoteUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,6 @@ public function getOrCreateFolder(string $path, bool $create = true) : Folder {
throw new NotesFolderException($path.' is not a folder');
}

if ($folder->isShared()) {
$folderName = $this->root->getNonExistingName($path);
$folder = $this->root->newFolder($folderName);
}

return $folder;
}

Expand Down

0 comments on commit 4e7ef8d

Please sign in to comment.