diff options
author | Christian Weiske <cweiske@cweiske.de> | 2020-08-11 22:13:55 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-03-26 07:31:16 +0100 |
commit | 8ee995f214b3fb9c7c1ace9da26e8e9b640a7ddd (patch) | |
tree | 951cf2fdf0b43cb7c792f447d9147995007006ae /apps/files/js/files.js | |
parent | f97491eb8f13099a31a984477f67eb55b1f333f7 (diff) | |
download | nextcloud-server-8ee995f214b3fb9c7c1ace9da26e8e9b640a7ddd.tar.gz nextcloud-server-8ee995f214b3fb9c7c1ace9da26e8e9b640a7ddd.zip |
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: Christian Weiske <cweiske@cweiske.de>
Diffstat (limited to 'apps/files/js/files.js')
0 files changed, 0 insertions, 0 deletions