mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-29 16:55:32 +00:00
Atomic replacement of whole collection by PUT
This commit is contained in:
parent
0675328a02
commit
68286faa63
1 changed files with 0 additions and 3 deletions
|
@ -574,9 +574,6 @@ class Application:
|
|||
tag = tags.get(content_type)
|
||||
|
||||
if write_whole_collection:
|
||||
if item:
|
||||
# Delete old collection
|
||||
item.delete()
|
||||
new_item = self.Collection.create_collection(
|
||||
path, items, {"tag": tag})
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue