Browse Source

Atomic replacement of whole collection by PUT

Unrud 9 năm trước cách đây
mục cha
commit
68286faa63
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      radicale/__init__.py

+ 0 - 3
radicale/__init__.py

@@ -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: