mirror of
https://github.com/logos-co/open-law.git
synced 2025-02-10 13:57:17 +00:00
remove comments
This commit is contained in:
parent
1ecf575c25
commit
fec00011df
@ -270,13 +270,6 @@ def change_collection_position(book_id: int, collection_id: int):
|
|||||||
)
|
)
|
||||||
collection.parent_id = collection_id
|
collection.parent_id = collection_id
|
||||||
|
|
||||||
# current_access_group = m.CollectionAccessGroups.query.filter_by(
|
|
||||||
# collection_id=collection.id
|
|
||||||
# ).all()
|
|
||||||
# for access_group in current_access_group:
|
|
||||||
# db.session.delete(access_group)
|
|
||||||
# db.session.commit()
|
|
||||||
|
|
||||||
recursive_copy_access_groups(new_parent, collection)
|
recursive_copy_access_groups(new_parent, collection)
|
||||||
|
|
||||||
if new_parent.active_children:
|
if new_parent.active_children:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user