Skip to content
Commit 0e88470b authored by Christian Weiske's avatar Christian Weiske Committed by backportbot[bot]
Browse files

Delete old birthday calendar object when moving contact to another address book

When an contact is moved to another address book, the contact is copied to
the second address book.
During copying, the birthday event is created - but it gets the same UID
as the contact's birthday event in the first address book.

To prevent the "Calendar object with uid already exists" error that followed,
we need to delete the old entry before the new one is created.

Resolves: https://github.com/nextcloud/server/issues/20492


Signed-off-by: default avatarChristian Weiske <cweiske@cweiske.de>
parent 5c737b73
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment